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