From: Aaron Ballman Date: Sat, 8 Nov 2014 17:09:50 +0000 (+0000) Subject: Missing testcase from r221581. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b0b279f796ecf91b10ba8b0ca89f9dbf802bae4;p=clang Missing testcase from r221581. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221582 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Parser/cxx1z-attributes.cpp b/test/Parser/cxx1z-attributes.cpp index 52b0a53ad8..f57b47dd58 100644 --- a/test/Parser/cxx1z-attributes.cpp +++ b/test/Parser/cxx1z-attributes.cpp @@ -4,6 +4,8 @@ namespace [[]] foo {} 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,