one more parse error
authorMatthias Braun <matze@braunis.de>
Sat, 29 Dec 2007 14:19:29 +0000 (14:19 +0000)
committerMatthias 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]

diff --git a/parsetest/cp_error018.c b/parsetest/cp_error018.c
new file mode 100644 (file)
index 0000000..e0db872
--- /dev/null
@@ -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;
+}