struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-loop-9.c
blob3f3c8fe726d52adefae59affec39332d5661aed2
1 /*
2 loop-9.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_c89
9 #endif
11 /* Source: Neil Booth, from PR # 115. */
13 int false()
15 return 0;
18 void
19 testTortureExecute (void)
21 int count = 0;
23 while (false() || count < -123)
24 ++count;
26 if (count)
27 ASSERT (0);
29 return;