struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-980506-1.c
blob489381287dd6b6246ec040dd37ba4d9b2e80a42e
1 /*
2 980506-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 struct decision
13 char enforce_mode;
14 struct decision *next;
18 static void
19 clear_modes (register struct decision *p)
21 goto blah;
23 foo:
24 p->enforce_mode = 0;
25 blah:
26 if (p)
27 goto foo;
30 void
31 testTortureExecute (void)
33 struct decision *p = 0;
34 clear_modes (p);
35 return;