struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-pr66187.c
blob96dc0f0b2ef3661770e1df5b4dcdd5d9957f91d5
1 /*
2 pr66187.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 /* PR tree-optimization/66187 */
9 int a = 1, e = -1;
10 short b, f;
12 void
13 testTortureExecute (void)
15 f = e;
16 #if 0 // Enable when SDCC supports intermingling
17 int g = b < 0 ? 0 : f + b;
18 if ((g & -4) < 0)
19 a = 0;
20 if (a)
21 ASSERT (0);
22 #endif
23 return;