struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-960419-1.c
blob82e65bcad93259c8a28e2673d1f02bead9fb9f87
1 /*
2 960419-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 static int i;
13 void
14 check(int x)
16 if (!x)
17 ASSERT(0);
20 void
21 testTortureExecute (void)
23 int *p = &i;
25 check(p != (void *)0);
26 return;