r280580 - Add a test Aaron asked for that I forgot to add before landing r280578.

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 2 21:27:14 PDT 2016


Author: nico
Date: Fri Sep  2 23:27:14 2016
New Revision: 280580

URL: http://llvm.org/viewvc/llvm-project?rev=280580&view=rev
Log:
Add a test Aaron asked for that I forgot to add before landing r280578.

Modified:
    cfe/trunk/test/Parser/ms-square-bracket-attributes.mm

Modified: cfe/trunk/test/Parser/ms-square-bracket-attributes.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/ms-square-bracket-attributes.mm?rev=280580&r1=280579&r2=280580&view=diff
==============================================================================
--- cfe/trunk/test/Parser/ms-square-bracket-attributes.mm (original)
+++ cfe/trunk/test/Parser/ms-square-bracket-attributes.mm Fri Sep  2 23:27:14 2016
@@ -41,6 +41,8 @@ namespace {
 [uuid("{000000A0-0000-0000-C000-000000000049}", "1")] struct S {};
 // expected-error at +1 {{expected '('}}
 [uuid{"000000A0-0000-0000-C000-000000000049"}] struct T {};
+// expected-error at +1 {{expected ')'}} expected-note at +1 {{to match this '('}}
+[uuid("000000A0-0000-0000-C000-000000000049"}] struct U {};
 
 
 // In addition to uuids in string literals, cl also allows uuids that are not




More information about the cfe-commits mailing list