struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-20140326-1.c
bloba3a09e3e857c6261226b3559dc82bf2700d73404
1 /*
2 20140326-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 a;
13 void
14 testTortureExecute (void)
16 char e[2] = { 0, 0 }, f = 0;
17 if (a == 131072)
18 f = e[a];