struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-20030909-1.c
blob249c9b05cb3a9442b7d97d25d338eb6af23b3216
1 /*
2 20030909-1.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 void test(int x, int y)
13 if (x == y)
14 ASSERT (0);
17 void foo(int x, int y)
19 if (x == y)
20 goto a;
21 else
23 a:;
24 if (x == y)
25 goto b;
26 else
28 b:;
29 if (x != y)
30 test (x, y);
35 void
36 testTortureExecute (void)
38 foo (0, 0);
40 return;