struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-pr78856.c
blobcb2993615622c230cb9497682d1f9101c5a0eb4a
1 /*
2 pr78856.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 a, b, c, d, e, f[3];
13 void
14 testTortureExecute (void)
16 while (d)
17 while (1)
19 #if 0 // Enable when SDCC intermingles
20 int g = 0, h, i = 0;
21 for (; g < 21; g += 9)
23 int j = 1;
24 for (h = 0; h < 3; h++)
25 f[h] = 1;
26 for (; j < 10; j++) {
27 d = i && (b ? 0 : c);
28 i = 1;
29 if (g)
30 a = e;
33 #endif
34 return;