projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated most tests to also do longs
[fw/sdcc]
/
support
/
regression
/
tests
/
bug-227710.c
diff --git
a/support/regression/tests/bug-227710.c
b/support/regression/tests/bug-227710.c
index ccf98a5b6690d3af5df90bb39b664ba092d0c4cd..9b57e77ba4c0793753fbdfeed1bd985a4af4a619 100644
(file)
--- a/
support/regression/tests/bug-227710.c
+++ b/
support/regression/tests/bug-227710.c
@@
-12,14
+12,14
@@
struct {
unsigned char index;
} s;
-
static
unsigned char
+unsigned char
foo(void)
{
// BUG, there will be a PRE-increment
return p[s.index++];
}
-
static
void
+void
testPostIncrement(void)
{
p = _data;