struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-20020911-1.c
blob82d6ee523004e4ecb85786b68d07c12da4254c3f
1 /*
2 20020911-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 unsigned short c = 0x8000;
12 void
13 testTortureExecute (void)
15 if ((c-0x8000) < 0 || (c-0x8000) > 0x7fff)
16 ASSERT(0);
17 return;