X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=inline;f=src%2Fregression%2Fadd.c;h=99fce7a90dfa53a35c9bc53bbab69a469c9aaa30;hb=97bed346fed0a8e37ef2aa6da4f056be1293e828;hp=d3e1406bd0cf2731ae40c2a60b37e9f91854e7f8;hpb=6d080aabf22676ff1d378afc6de668099ee9da6f;p=fw%2Fsdcc diff --git a/src/regression/add.c b/src/regression/add.c index d3e1406b..99fce7a9 100644 --- a/src/regression/add.c +++ b/src/regression/add.c @@ -4,7 +4,7 @@ /* 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;) */ @@ -166,18 +166,18 @@ void add_bit2uint(void) 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(); @@ -185,7 +185,7 @@ void main(void) add_bit2uchar(); add_bit2uint(); #endif - ASSERT(_failures == 0); + ASSERT(MANGLE(failures) == 0); done(); }