[cfe-commits] r124861 - /cfe/trunk/test/Parser/cxx-in-c.c

Douglas Gregor dgregor at apple.com
Fri Feb 4 03:59:48 PST 2011


Author: dgregor
Date: Fri Feb  4 05:59:47 2011
New Revision: 124861

URL: http://llvm.org/viewvc/llvm-project?rev=124861&view=rev
Log:
Fix test for previous commit

Modified:
    cfe/trunk/test/Parser/cxx-in-c.c

Modified: cfe/trunk/test/Parser/cxx-in-c.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/cxx-in-c.c?rev=124861&r1=124860&r2=124861&view=diff
==============================================================================
--- cfe/trunk/test/Parser/cxx-in-c.c (original)
+++ cfe/trunk/test/Parser/cxx-in-c.c Fri Feb  4 05:59:47 2011
@@ -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}}





More information about the cfe-commits mailing list