* src/mcs51/gen.c (genUnpackBits): don't generate ifxJump, instead return
[fw/sdcc] / support / regression / tests / bug1546986.c
index b22b67f8fe93119a8274baead99309ef37fa57b1..5e120a3562f0fd489dc00eaff96096b76f40e91f 100644 (file)
@@ -5,16 +5,22 @@
 #include <testfwk.h>
 #include <stdbool.h>
 
+#ifdef __bool_true_false_are_defined
+
 static unsigned char pdata tst1 = 0x01;
 static unsigned char pdata tst2 = 0x00;
 
 static bool test;
 
+#endif //__bool_true_false_are_defined
+
 void
 testBug(void)
 {
+#ifdef __bool_true_false_are_defined
   test = (tst1 | tst2);
   ASSERT( test );
   test = (tst2 | tst1);
   ASSERT( test );
+#endif //__bool_true_false_are_defined
 }