struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-931208-1.c
blobe71cf38f2a2c0e57e0ca301a2f61053dc80dda8e
1 /*
2 931208-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 int f ()
13 unsigned long x, y = 1;
15 x = ((y * 8192) - 216) / 16;
16 return x;
19 void
20 testTortureExecute (void)
22 if (f () != 498)
23 ASSERT (0);
24 return;