Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-930429-2.c
blob8501c011d033cdbeb059814ae4d877e5aea06728
1 /*
2 930429-2.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
12 f (int b)
14 return (b >> 1) > 0;
17 void
18 testTortureExecute (void)
20 if (!f (9))
21 ASSERT (0);
22 if (f (-9))
23 ASSERT (0);
24 return;