struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-940122-1.c
blob512db3b6d755cbee5a8a7051ef6540adc24af830
1 /*
2 940122-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 char *a = 0;
13 char *b = 0;
15 void g (int x)
17 if ((!!a) != (!!b))
18 ASSERT (0);
21 void f (int x)
23 g (x * x);
26 void
27 testTortureExecute (void)
29 f (100);
30 return;