Example #1
0
int main(void)
{
  add_lit2uint();

  aint0=16;
  aint1=0;
  add_uint2uint();

  aint0 = 0;
  aint1 = 32;
  aint2 = 0;
  add_uint2uint2();

#ifdef SUPPORT_BIT_TYPES
  add_bits();

  achar0 = 7;
  add_bit2uchar();

  aint0 = 0;
  bit0 = 1;
  add_bit2uint();
#endif

  aint0 = 0;
  addlits();

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

  return failures;
}
Example #2
0
void main(void)
{

  add_lit2uint();

  aint0=16;
  aint1=0;
  add_uint2uint();


  aint0 = 0;
  aint1 = 32;
  aint2 = 0;
  add_uint2uint2();

#if SUPPORT_BIT_TYPES
  add_bits();

  achar0 = 7;
  add_bit2uchar();

  aint0 = 0;
  bit0 = 1;
  add_bit2uint();
#endif

  aint0 = 0;
  addlits();

  done();
}