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;
20 unsigned int uint0 = 0;
21 unsigned int uint1 = 0;
22 unsigned char uchar0 = 0;
23 unsigned char uchar1 = 0;
24 unsigned long ulong0 = 0;
25 unsigned long ulong1 = 0;
33 void or_lit2uchar(void)
54 void or_lit2uint(void)
80 void or_lit2ulong(void)
105 ulong0 |= 0x80000000;
106 if(ulong0 != 0x80000303)
111 void or_uchar2uchar(void)
120 uchar0 = uchar1 | 0x10;
126 void or_uint2uint(void)
135 uint0 = uint1 | 0x10;
141 #if SUPPORT_BIT_TYPES
145 bit0 = bit0 | bit1 | bit2;
168 #if SUPPORT_BIT_TYPES
189 printf("failures: %d\n",failures);