* device/lib/z80/mul.s (__mulsuchar_rrx_s, __muluschar_rrx_s),
[fw/sdcc] / support / regression / tests / bug-908454.c
index 9a67d263152142935cded359588976ae924a2319..009ad534016b617091b05af7d4d417e43610cb95 100644 (file)
@@ -1,15 +1,12 @@
 /* promoting bit to char */
 
 #include <testfwk.h>
+#include <stdbool.h>
 
-#if defined(PORT_HOST) || defined(SDCC_z80) || defined(SDCC_gbz80) || defined(SDCC_hc08)
-#  define NO_BIT_TYPE
-#endif
-
-#if defined(NO_BIT_TYPE)
+#if !defined(__bool_true_false_are_defined)
 volatile int a = 1, b = 1;
 #else
-volatile bit a = 1, b = 1;
+volatile bool a = 1, b = 1;
 #endif
 
 char