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}}


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to