struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-930719-1.c
blob4cd768d68bab106d6bc78281791cdf8027d5ac13
1 /*
2 930719-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 f (int foo, int bar, int com)
14 unsigned align = 0;
15 if (foo)
16 return 0;
17 while (1)
19 switch (bar)
21 case 1:
22 if (com != 0)
23 return align;
24 *(char *) 0 = 0;
29 void
30 testTortureExecute (void)
32 f (0, 1, 1);
33 return;