On Mon, Jan 16, 2012 at 7:08 PM, Nico Weber <[email protected]> wrote:

> r148270. Thanks!


As per our discussion on IRC, this patch adds a missing test for the
existing error Dmitri mentioned (extraneous '+', which emits an
err_external_declaration). Note that this does not apply to ObjC as per the
check on lib/Parse/Parser.cpp:586.

-Jason "s1n" Switzer
Index: test/Parser/recovery.c
===================================================================
--- test/Parser/recovery.c	(revision 148638)
+++ test/Parser/recovery.c	(working copy)
@@ -18,7 +18,9 @@
 // PR3172
 } // expected-error {{extraneous closing brace ('}')}}
 
++ // expected-error {{expected external declaration}}
 
+
 // rdar://6094870
 void test(int a) {
   struct { int i; } x;
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to