struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-20010723-1.c
blob2004e8c8c7bc33d17e1369162af0796bd8cb286e
1 /*
2 200107231.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 int
12 f ()
14 int biv,giv;
15 for (biv = 0, giv = 0; giv != 8; biv++)
16 giv = biv*8;
17 return giv;
20 void
21 testTortureExecute (void)
23 if (f () != 8)
24 ASSERT (0);
25 return;