projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
testcase for sideeffects problems
[cparser]
/
parsetest
/
shouldfail
/
missing.c
diff --git
a/parsetest/shouldfail/missing.c
b/parsetest/shouldfail/missing.c
index
ca56ec5
..
63ef447
100644
(file)
--- a/
parsetest/shouldfail/missing.c
+++ b/
parsetest/shouldfail/missing.c
@@
-1,4
+1,4
@@
-int test(int a) {
+int test
1
(int a) {
if (a > 3) {
return 1;
else {
@@
-6,7
+6,14
@@
int test(int a) {
}
}
+int test2(int a, int b) {
+ return a ? 1 + : 2;
+}
int test3(int b) {
return (b + ;
}
+
+int test4(int a) {
+ return test2(a + , a);
+}