struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-20001112-1.c
blob538be1ae47d6fe1d155a43c6812a63f7f01e43f8
1 /*
2 20001112-1.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 void
12 testTortureExecute (void)
14 // Some ports do not support long long yet.
15 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
16 long long i = 1;
18 i = i * 2 + 1;
20 if (i != 3)
21 ASSERT (0);
22 return;
23 #endif