Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / regression / tests / bug-1294691.c
blobb3528733419ed28c32f03ca4026357348e3f7954
1 /*
2 bug-1294691.c
3 */
5 #include <testfwk.h>
7 unsigned char x = 1;
8 unsigned char y = 5;
9 int ret;
12 void
13 testBug(void)
15 ret = 1;
17 if (x)
19 if (y > 3)
21 if (y < 8)
25 else
29 else
31 ret = 0;
34 ASSERT(ret == 1);