From c41c1235e0d570e153150f994d28c4d2042c22ec Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 21 Nov 2008 01:05:35 +0000 Subject: [PATCH] remove expected-error from #if 0 section of code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59772 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Sema/predefined-function.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Sema/predefined-function.c b/test/Sema/predefined-function.c index daade82b46..e8c396525d 100644 --- a/test/Sema/predefined-function.c +++ b/test/Sema/predefined-function.c @@ -26,8 +26,8 @@ int bar() // expected-error {{redefinition of 'bar'}} } #if 0 -int foobar(int); // expected-error {{previous declaration is here}} -int foobar() // expected-error {{conflicting types for 'foobar'}} +int foobar(int); // error {{previous declaration is here}} +int foobar() // error {{conflicting types for 'foobar'}} { return 0; } -- 2.40.0