Example #1
0
void
main (void)
{

  c_0();

  c_long2long_eq();

  long1 = 1;
  ulong1 = 1;
  c_1();
  c_long2long_neq();

  long0 = 2;
  ulong0 = 2;
  c_2();

  long0 = 0xff;
  ulong0 = 0xff;
  c_ff();

  long0 = 0x200;
  ulong0 = 0x200;
  c_200();

  long0 = 0x20000;
  ulong0 = 0x20000;
  c_20000();

  long0 = -1;
  c_minus1();

  success = failures;
  done ();
}
Example #2
0
int main(void)
{
  int1 = 1;
  char1 = 1;
  c_0();
  printf("failures: %d\n",failures);
  c_1();
  printf("failures: %d\n",failures);

  int0 = 2;
  char0 = 2;
  c_2();
  printf("failures: %d\n",failures);

  int0 = 0xff;
  char0 = 0xff;
  c_ff();
  printf("failures: %d\n",failures);

  int0 = 0xa5;
  char0 = 0xa5;
  c_a5();
  printf("failures: %d\n",failures);

  int0 = 0xabcd;
  /*c_abcd();*/

  char0 = 0;
  char1 = 0;
  c_ifelse1();
  printf("failures: %d\n",failures);

  char0 = 1;
  c_ifelse1();
  printf("failures: %d\n",failures);

  char0 = -1;
  int0 = -1;
  c_minus1();
  printf("failures: %d\n",failures);

  char0 = 5;
  char1 = 3;
  c_c0gtc1();
  printf("failures: %d\n",failures);

  char1 = -3;
  c_c0gtc1();

  success = failures;
  done ();
  printf("failures: %d\n",failures);

  return failures;
}