projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/z80/gen.c (fetchLitPair): Changed so that it properly caches direct space...
[fw/sdcc]
/
support
/
regression
/
tests
/
muldiv.c
diff --git
a/support/regression/tests/muldiv.c
b/support/regression/tests/muldiv.c
index 474afd35394c502986859340acf2cb666b0af0c4..dc8bd801e1f7dbe2da63c59ad00627f59a1280a0 100644
(file)
--- a/
support/regression/tests/muldiv.c
+++ b/
support/regression/tests/muldiv.c
@@
-64,6
+64,10
@@
testMul(void)
ASSERT(i*-3 == 30);
}
+void mark(void)
+{
+}
+
void
testDiv(void)
{
@@
-73,6
+77,7
@@
testDiv(void)
LOG(("i/5 == 20 = %u\n", (int)i/5));
ASSERT(i/5 == 20);
LOG(("i/-4 == -25 = %u\n", (int)i/-4));
+ mark();
ASSERT(i/-4 == -25);
i = -50;