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)
llvm-svn: 221582

clang/test/Parser/cxx1z-attributes.cpp

index 52b0a53..f57b47d 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