From: Douglas Gregor Date: Fri, 4 Feb 2011 11:59:47 +0000 (+0000) Subject: Fix test for previous commit X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=022915baa2aa0f7c026d22591ece0c914254b6b4;p=clang Fix test for previous commit git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124861 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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}}