struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-20010711-1.c
blob1ec6f04deffe6a2845f54732dfec81e197a11a16
1 /*
2 20010711-1.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_c99
9 #pragma disable_warning 85
10 #endif
12 void foo (int *a) {}
14 void
15 testTortureExecute (void)
17 int a;
18 if (&a == 0)
19 ASSERT (0);
20 else
22 foo (&a);
23 return;