From: Nico Weber Date: Sat, 3 Sep 2016 04:27:14 +0000 (+0000) Subject: Add a test Aaron asked for that I forgot to add before landing r280578. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c629ae8eae2bb3d64b6b30b8a915bfeb7d168b7;p=clang Add a test Aaron asked for that I forgot to add before landing r280578. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@280580 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Parser/ms-square-bracket-attributes.mm b/test/Parser/ms-square-bracket-attributes.mm index 41d69fc9d2..b17d6d7f49 100644 --- a/test/Parser/ms-square-bracket-attributes.mm +++ b/test/Parser/ms-square-bracket-attributes.mm @@ -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