struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-961004-1.c
bloba07710e6baf0e535af28dec4f45c7d5bc41b0423
1 /*
2 961004-1.c from the execute part of the gcc torture suite.
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_c99
9 #pragma disable_warning 84
10 #endif
12 int k = 0;
14 void
15 testTortureExecute (void)
17 int i;
18 int j;
20 for (i = 0; i < 2; i++)
22 if (k)
24 if (j != 2)
25 ASSERT (0);
27 else
29 j = 2;
30 k++;
33 return;