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;
45 case 0: achar0 = 9; break;
46 case 1: achar0 = 8; break;
47 case 2: achar0 = 7; break;
48 case 3: achar0 = 6; break;
49 case 4: achar0 = 5; break;
50 case 5: achar0 = 4; break;
51 case 6: achar0 = 3; break;
52 case 7: achar0 = 2; break;
53 case 8: achar0 = 1; break;
54 case 9: achar0 = 0; break;
55 case 10: achar0 = 9; break;
56 case 11: achar0 = 8; break;
57 case 12: achar0 = 7; break;
58 default: achar0 = 0xff; break;
79 for(achar1=0; achar1<10;achar1++){
81 if(achar0 != (9-achar1))
88 printf("failures: %d\n",failures);