struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-960402-1.c
bloba96adeadba7c6bc086ebf85cc4383d0af740deb7
1 /*
2 960402-1.c from the execute part of the gcc torture suite.
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_c99
9 #endif
11 // TODO: Enable when sdcc supports long long constants!
12 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
13 int
14 f (signed long long int x)
16 return x > 0xFFFFFFFFLL || x < -0x80000000LL;
18 #endif
20 void
21 testTortureExecute (void)
23 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
24 ASSERT(f (0) == 0);
25 return;
26 #endif