struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-980618-1.c
blobc856b0565f6efbed4929bafe444fdf16696fb604
1 /*
2 980618-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 void func(int, int);
13 void
14 testTortureExecute (void)
16 int x = 7;
17 func(!x, !7);
18 return;
21 void func(int x, int y)
23 if (x == y)
24 return;
25 else
26 ASSERT (0);