struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-pr68911.c
blob87c2e05363bbba6b7cce769607900326629375f9
1 /*
2 pr68911.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 char a;
12 int b, c;
13 short d;
15 void
16 testTortureExecute (void)
18 unsigned e = 2;
19 unsigned timeout = 0;
21 for (; c < 2; c++)
23 int f = ~e / 7;
24 if (f)
25 a = e = ~(b && d);
26 while (e < 94)
28 e++;
29 if (++timeout > 100)
30 goto die;
33 return;
34 die:
35 ASSERT(0);