]> granicus.if.org Git - clang/commitdiff
remove expected-error from #if 0 section of code.
authorChris Lattner <sabre@nondot.org>
Fri, 21 Nov 2008 01:05:35 +0000 (01:05 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 21 Nov 2008 01:05:35 +0000 (01:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59772 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/predefined-function.c

index daade82b465c23ef9e782a69fd28da62dde75ae9..e8c396525d1a653cd0f363f30382be93da60ae8a 100644 (file)
@@ -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;
 }