From: Matthias Braun Date: Fri, 30 May 2008 13:52:50 +0000 (+0000) Subject: C can do such stupid things... X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=e3e512caa3f089a3ea6876821639778128ad0013;p=cparser C can do such stupid things... [r19845] --- diff --git a/parsetest/cp_error031.c b/parsetest/cp_error031.c new file mode 100644 index 0000000..d58b071 --- /dev/null +++ b/parsetest/cp_error031.c @@ -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; +}