projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/pic16/device.h: removed unused field PIC16_device.sfrRange,
[fw/sdcc]
/
src
/
regression
/
while.c
diff --git
a/src/regression/while.c
b/src/regression/while.c
index 86df05a1ebcdb20658022a127bde2504f5a685e3..4429b8859f0346cdc84cbabd2fdb3b47b5a2e682 100644
(file)
--- a/
src/regression/while.c
+++ b/
src/regression/while.c
@@
-1,10
+1,7
@@
-
//#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 aint0 = 0;
unsigned int aint1 = 0;
unsigned char achar0 = 0;
unsigned int aint0 = 0;
unsigned int aint1 = 0;
unsigned char achar0 = 0;
@@
-12,11
+9,10
@@
unsigned char achar1 = 0;
void
void
-done
()
+done()
{
{
-
- dummy++;
-
+ ASSERT(MANGLE(failures) == 0);
+ PASSED();
}
void
}
void
@@
-42,6
+38,5
@@
main (void)
while1 ();
while1 ();
- success = failures;
done ();
}
done ();
}