projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0ae7df
)
Missing testcase from r221581.
author
Aaron Ballman
<aaron@aaronballman.com>
Sat, 8 Nov 2014 17:09:50 +0000
(17:09 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Sat, 8 Nov 2014 17:09:50 +0000
(17:09 +0000)
llvm-svn: 221582
clang/test/Parser/cxx1z-attributes.cpp
patch
|
blob
|
history
diff --git
a/clang/test/Parser/cxx1z-attributes.cpp
b/clang/test/Parser/cxx1z-attributes.cpp
index
52b0a53
..
f57b47d
100644
(file)
--- a/
clang/test/Parser/cxx1z-attributes.cpp
+++ b/
clang/test/Parser/cxx1z-attributes.cpp
@@
-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