aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-02-04 11:59:47 +0000
committerDouglas Gregor <dgregor@apple.com>2011-02-04 11:59:47 +0000
commit022915baa2aa0f7c026d22591ece0c914254b6b4 (patch)
tree29fc857b9e67b5a87af7e612b4421903f1737ce3
parent758afbcc86ef15f8d433f5f87db1495e50effeb3 (diff)
Fix test for previous commit
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124861 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Parser/cxx-in-c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Parser/cxx-in-c.c b/test/Parser/cxx-in-c.c
index 50212ad0b3..f5fa39bd0c 100644
--- a/test/Parser/cxx-in-c.c
+++ b/test/Parser/cxx-in-c.c
@@ -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}}