X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fregression%2Fcall1.c;h=76d6278b82b2153c7cbd11b28e61fa1481325e61;hb=6d080aabf22676ff1d378afc6de668099ee9da6f;hp=4c6bfc37abd5be970c8e3a844d292f5b6f0ed87a;hpb=5e7a815ef82dacf659fdad6451a982842eb255a2;p=fw%2Fsdcc diff --git a/src/regression/call1.c b/src/regression/call1.c index 4c6bfc37..76d6278b 100644 --- a/src/regression/call1.c +++ b/src/regression/call1.c @@ -1,10 +1,6 @@ -#define __16F873 -#include "p16f873.h" -//#include "p16c84.h" +#include "gpsim_assert.h" -unsigned char success = 0; unsigned char failures = 0; -unsigned char dummy = 0; bit bit0 = 0; unsigned int uint0 = 0; @@ -15,11 +11,10 @@ unsigned char uchar1 = 0; unsigned char call3 (void); void -done () +done() { - - dummy++; - + ASSERT(MANGLE(failures) == 0); + PASSED(); } void @@ -159,6 +154,5 @@ main (void) call9(0x1234,0x5678); - success = failures; done (); }