struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-931012-1.c
blob71f981143180797b077019a32c8000f3aa963921
1 /*
2 931012-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 int f (int b, int c)
13 if (b != 0 && b != 1 && c != 0)
14 b = 0;
15 return b;
18 void
19 testTortureExecute (void)
21 if (!f (1, 2))
22 ASSERT (0);
23 return;