projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/SDCCglue.c (tempfileandname): changed un*x tmp search paths to /tmp and /var...
[fw/sdcc]
/
support
/
regression
/
tests
/
onebyte.c
diff --git
a/support/regression/tests/onebyte.c
b/support/regression/tests/onebyte.c
index 7ac65fa606e6a967d68fae07d962785d5d64dae2..d0cc08d765dbc4eb724806b9c88917078d21ee44 100644
(file)
--- a/
support/regression/tests/onebyte.c
+++ b/
support/regression/tests/onebyte.c
@@
-243,3
+243,16
@@
testUMinus(void)
sc = -128;
ASSERT(-sc == 128);
}
+
+void
+testBug1571231(void)
+{
+ unsigned char {attrL} uc;
+
+ /* bug-1571231 */
+ uc = 0x80;
+ if (uc + 0x80)
+ ASSERT(1);
+ else
+ ASSERT(0);
+}