struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-991202-2.c
blob01bd0673a341621e8be0745866e2a99350bc640f
1 /*
2 991202-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 int
12 f1 ()
14 unsigned long x, y = 1;
16 x = ((y * 8192) - 216) % 16;
17 return x;
20 void
21 testTortureExecute (void)
23 if (f1 () != 8)
24 ASSERT (0);
25 return;