Get rid of outdated code that masks type errors. Fixes PR2036.
llvm-svn: 47154
diff --git a/clang/test/Sema/function.c b/clang/test/Sema/function.c
index a75814e..8ef4535 100644
--- a/clang/test/Sema/function.c
+++ b/clang/test/Sema/function.c
@@ -13,6 +13,8 @@
void g(int (*compar)()) {
}
+void h(); //expected-error{{previous declaration is here}}
+void h (const char *fmt, ...) {} //expected-error{{conflicting types for 'h'}}
// PR1965
int t5(b); // expected-error {{parameter list without types}}