* src/mcs51/peep.c (isCallerSaveFunc): fixed bug 1749275, thanks Robert
[fw/sdcc] / support / regression / tests / bug1738367.c
1 /*
2    bug1738367.c
3 */
4
5 #include <testfwk.h>
6 #include <stdbool.h>
7
8 bool Ternary(unsigned char status)
9 {
10         return (status == 0) ? 0 : 1;
11 }
12
13 void
14 testBug(void)
15 {
16         ASSERT(!Ternary(0x00));
17         ASSERT( Ternary(0x10));
18 }