]> granicus.if.org Git - clang/commitdiff
Fix test for previous commit
authorDouglas Gregor <dgregor@apple.com>
Fri, 4 Feb 2011 11:59:47 +0000 (11:59 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 4 Feb 2011 11:59:47 +0000 (11:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124861 91177308-0d34-0410-b5e6-96231b3b80d8

test/Parser/cxx-in-c.c

index 50212ad0b3184fbbded50fd13c09bc7715cd82cc..f5fa39bd0cb99b2fd636257afc399ed38a9c4994 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -fsyntax-only -verify
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // PR9137
-void f0(int x) : {};
-void f1(int x) try {};
+void f0(int x) : {}; // expected-error{{expected function body after function declarator}}
+void f1(int x) try {}; // expected-error{{expected function body after function declarator}}