Author: aaronballman
Date: Sat Nov  8 11:09:50 2014
New Revision: 221582

URL: http://llvm.org/viewvc/llvm-project?rev=221582&view=rev
Log:
Missing testcase from r221581.

Modified:
    cfe/trunk/test/Parser/cxx1z-attributes.cpp

Modified: cfe/trunk/test/Parser/cxx1z-attributes.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/cxx1z-attributes.cpp?rev=221582&r1=221581&r2=221582&view=diff
==============================================================================
--- cfe/trunk/test/Parser/cxx1z-attributes.cpp (original)
+++ cfe/trunk/test/Parser/cxx1z-attributes.cpp Sat Nov  8 11:09:50 2014
@@ -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,


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to