struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-20060127-1.c
blob25df3dac5dbb651cdaf8b85fafc2ca58c2cefdde
1 /*
2 20060127-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 long long comes to these ports!
12 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
13 void
14 f (long long a)
16 if ((a & 0xffffffffLL) != 0)
17 ASSERT (0);
20 long long a = 0x1234567800000000LL;
21 #endif
23 void
24 testTortureExecute (void)
26 #if !defined (__SDCC_mcs51)
27 f (a);
28 return;
29 #endif