projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71d9d31
)
one more parse error
author
Matthias Braun
<matze@braunis.de>
Sat, 29 Dec 2007 14:19:29 +0000
(14:19 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sat, 29 Dec 2007 14:19:29 +0000
(14:19 +0000)
[r18831]
parsetest/cp_error018.c
[new file with mode: 0644]
patch
|
blob
diff --git a/parsetest/cp_error018.c
b/parsetest/cp_error018.c
new file mode 100644
(file)
index 0000000..
e0db872
--- /dev/null
+++ b/
parsetest/cp_error018.c
@@ -0,0
+1,12
@@
+int puts(const char *msg);
+
+int main(int argc, char **argv)
+{
+ char *arg = argc > 1 ? argv[1] : 0;
+
+ if(arg != 0) {
+ puts(arg);
+ }
+
+ return 0;
+}