Missing testcase from r221581.
llvm-svn: 221582
diff --git a/clang/test/Parser/cxx1z-attributes.cpp b/clang/test/Parser/cxx1z-attributes.cpp
index 52b0a53..f57b47d 100644
--- a/clang/test/Parser/cxx1z-attributes.cpp
+++ b/clang/test/Parser/cxx1z-attributes.cpp
@@ -4,6 +4,8 @@
namespace [[]] {}
namespace [[]] bad = foo; // expected-error {{attributes cannot be specified on namespace alias}}
+namespace [[]] A::B {} // expected-error {{attributes cannot be specified on a nested namespace definition}}
+
enum test {
bing [[]],
bar [[]] = 1,