projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/regression/add.c, src/regression/add2.c, src/regression/add3.c,
[fw/sdcc]
/
src
/
regression
/
call1.c
diff --git
a/src/regression/call1.c
b/src/regression/call1.c
index 4c6bfc37abd5be970c8e3a844d292f5b6f0ed87a..76d6278b82b2153c7cbd11b28e61fa1481325e61 100644
(file)
--- 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 failures = 0;
-unsigned char dummy = 0;
bit bit0 = 0;
unsigned int uint0 = 0;
bit bit0 = 0;
unsigned int uint0 = 0;
@@
-15,11
+11,10
@@
unsigned char uchar1 = 0;
unsigned char call3 (void);
void
unsigned char call3 (void);
void
-done
()
+done()
{
{
-
- dummy++;
-
+ ASSERT(MANGLE(failures) == 0);
+ PASSED();
}
void
}
void
@@
-159,6
+154,5
@@
main (void)
call9(0x1234,0x5678);
call9(0x1234,0x5678);
- success = failures;
done ();
}
done ();
}