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@+1 {{expected '('}} [uuid{"000000A0-0000-0000-C000-000000000049"}] struct T {}; +// expected-error@+1 {{expected ')'}} expected-note@+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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits