struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-20000717-2.c
blobb6a32960b8190b84768b1229cce3794b12ce9184
1 /*
2 20000717-2.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_c99
9 #endif
11 // Some ports do not support long long yet.
12 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
13 static void
14 compare (long long foo)
16 if (foo < 4294967297LL)
17 ASSERT (0);
19 #endif
21 void
22 testTortureExecute (void)
24 // Some ports do not support long long yet.
25 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
26 compare (8589934591LL);
27 return;
28 #endif