/* bit types are not ANSI - so provide a way of disabling bit types
* if this file is used to test other compilers besides SDCC */
-#define SUPPORT_BIT_TYPES 1
+#define SUPPORT_BIT_TYPES 0
/* Some compilers that support bit types do not support bit arithmetic
* (like bitx = bity + bitz;) */
void main(void)
{
add_lit2uchar();
- ASSERT(_failures == 0);
+ ASSERT(MANGLE(failures) == 0);
achar0=16;
achar1=0;
add_uchar2uchar();
- ASSERT(_failures == 0);
+ ASSERT(MANGLE(failures) == 0);
achar0 = 0;
achar1 = 32;
add_uchar2uchar2();
- ASSERT(_failures == 0);
+ ASSERT(MANGLE(failures) == 0);
#if SUPPORT_BIT_TYPES
add_bits();
add_bit2uchar();
add_bit2uint();
#endif
- ASSERT(_failures == 0);
+ ASSERT(MANGLE(failures) == 0);
done();
}