]> granicus.if.org Git - clang/commitdiff
Missing testcase from r221581.
authorAaron Ballman <aaron@aaronballman.com>
Sat, 8 Nov 2014 17:09:50 +0000 (17:09 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Sat, 8 Nov 2014 17:09:50 +0000 (17:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221582 91177308-0d34-0410-b5e6-96231b3b80d8

test/Parser/cxx1z-attributes.cpp

index 52b0a53ad8fbbe7f60788f3f7f9f9fbe8709b0a6..f57b47dd58627ddbe73d6a96e7703679abeb96f3 100644 (file)
@@ -4,6 +4,8 @@ namespace [[]] foo {}
 namespace [[]] {}\r
 namespace [[]] bad = foo; // expected-error {{attributes cannot be specified on namespace alias}}\r
 \r
+namespace [[]] A::B {} // expected-error {{attributes cannot be specified on a nested namespace definition}}\r
+\r
 enum test {\r
   bing [[]],\r
   bar [[]] = 1,\r