struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-20000205-1.c
blob5dfcfe057d99ce9687c15d4480ea2e8d47b21f4b
1 /*
2 20000205-1.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_c99
9 #endif
11 static int f (int a)
13 if (a == 0)
14 return 0;
16 if (a & 128)
17 return 1;
18 while (f (0));
19 return 0;
22 void
23 testTortureExecute (void)
25 if (f (~128))
26 ASSERT (0);
27 return;