C can do such stupid things...
authorMatthias Braun <matze@braunis.de>
Fri, 30 May 2008 13:52:50 +0000 (13:52 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 30 May 2008 13:52:50 +0000 (13:52 +0000)
[r19845]

parsetest/cp_error031.c [new file with mode: 0644]

diff --git a/parsetest/cp_error031.c b/parsetest/cp_error031.c
new file mode 100644 (file)
index 0000000..d58b071
--- /dev/null
@@ -0,0 +1,13 @@
+int foo();
+
+int kaputt(void) {
+       return foo(42, 2, 3);
+}
+
+int foo(int a) {
+       return a;
+}
+
+int main(void) {
+       return kaputt() != 42;
+}