struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-960116-1.c
blob5fdcedf0c78a3a87c8daaa693a81d7d053b26b61
1 /*
2 960116-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 inline int
12 p (int *p)
14 return !((long) p & 1);
17 int
18 f (int *q)
20 if (p (q) && *q)
21 return 1;
22 return 0;
25 void
26 testTortureExecute (void)
28 ASSERT (f ((int __code *) 0xffffffff) == 0);
29 return;