示例#1
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();
}
示例#2
0
文件: add1.c 项目: Aliandrana/cc65
int main(void)
{
  add_lit2uchar();

  achar0=16;
  achar1=0;
  add_uchar2uchar();

  achar0 = 0;
  achar1 = 32;
  add_uchar2uchar2();

#ifdef SUPPORT_BIT_TYPES
  add_bits();

  add_bit2uchar();
  add_bit2uint();
#endif

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

  return failures;
}
示例#3
0
文件: add1.c 项目: An-S/testsuite
int main(void)
{

	opentest(OUTFILE);

  add_lit2uchar();

  achar0=16;
  achar1=0;
  add_uchar2uchar();


  achar0 = 0;
  achar1 = 32;
  add_uchar2uchar2();

#ifdef SUPPORT_BIT_TYPES
  add_bits();

  add_bit2uchar();
  add_bit2uint();
#endif


  success = failures;
  done();
  fprintf(outfile,"failures: %d\n",failures);
	closetest(THISFILE);

    return (0);
}