struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-930406-1.c
blob8013ee513ec701b22929301488c868e3e5fcb0bf
1 /*
2 930406-1.c from the execute part of the gcc torture suite.
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_c99
9 #pragma disable_warning 85
10 #endif
12 void f()
14 int x = 1;
15 #if !defined(__SDCC_mcs51) && !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15)
16 char big[2048];
17 #else
18 char big[2];
19 #endif
22 mylabel:
23 x++;
24 if (x != 3)
25 goto mylabel;
27 return;
30 void
31 testTortureExecute (void)
33 f();