sdcc:
[fw/sdcc] / support / regression / tests / constantRange.c
index 1dfc10cfdbc63a490a7f5426bdc06468e8c7cda6..3b0d283cda3f632182a0a4169ba3c599388fd44f 100644 (file)
@@ -122,6 +122,8 @@ testConstantRange (void)
 void
 testFoo1(void)
 {
+#ifdef __bool_true_false_are_defined
+
 #if defined(PORT_HOST)
    volatile bool sb, ub;
 #else
@@ -172,6 +174,7 @@ testFoo1(void)
 
   ASSERT (! (-1 >= INT_CAST ub));
   ASSERT (  ( 0 >= ub));
+#endif //__bool_true_false_are_defined
 }
 
 void