Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / regression / tests / bug-2492.c
blob605e2eef6eeda73b4f2466ea85cb0b2689b424a2
1 /*
2 bug-2254.c a bug in stm8 code generation for jumps on immediates
3 */
5 #include <testfwk.h>
7 short int isArmed(void)
9 return 1;
12 int bug(void)
14 if (!isArmed)
15 return 0;
16 else
17 return 1;
20 void testBug(void)
22 ASSERT(bug());