r221582 - Missing testcase from r221581.
Aaron Ballman
aaron at aaronballman.com
Sat Nov 8 09:09:50 PST 2014
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,
More information about the cfe-commits
mailing list