2 950512-1.c from the execute part of the gcc torture suite.
11 // TODO: Enable when sdcc supports long long in these ports!
12 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
17 return ((unsigned) (x
!= 0) - 3) / 2;
23 return ((unsigned long long) (x
!= 0) - 3) / 2;
28 testTortureExecute (void)
30 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
31 if (f1 (1) != (~(unsigned) 0) >> 1)
33 if (f1 (0) != ((~(unsigned) 0) >> 1) - 1)
35 if (f2 (1) != (~(unsigned long long) 0) >> 1)
37 if (f2 (0) != ((~(unsigned long long) 0) >> 1) - 1)