3 !!ORIGIN!! SDCC regression tests
4 !!LICENCE!! GPL, read COPYING.GPL
10 unsigned char success=0;
11 unsigned char failures=0;
12 unsigned char dummy=0;
14 #ifdef SUPPORT_BIT_TYPES
17 unsigned int aint0 = 0;
18 unsigned int aint1 = 0;
19 unsigned char achar0 = 0;
20 unsigned char achar1 = 0;
29 if( (achar0 >0) || (achar1 >0 ))
41 if( (achar0==0) || achar1)
47 if( (achar0==0) || aint0)
74 if((achar0 == 0x42) || (achar1 == 42))
78 void bool_or_lit1(void)
85 if( (achar0 | 0x10) > 0xf0)
89 void bool_and_lit1(void)
96 if( (achar0 & 0x10) > 0xf0)
127 printf("failures: %d\n",failures);