]> granicus.if.org Git - clang/commitdiff
Add a test Aaron asked for that I forgot to add before landing r280578.
authorNico Weber <nicolasweber@gmx.de>
Sat, 3 Sep 2016 04:27:14 +0000 (04:27 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 3 Sep 2016 04:27:14 +0000 (04:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@280580 91177308-0d34-0410-b5e6-96231b3b80d8

test/Parser/ms-square-bracket-attributes.mm

index 41d69fc9d2708e6d21db565ebb1b091a11d93816..b17d6d7f49652c24b2efd031d326fcd487f8850a 100644 (file)
@@ -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