aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/cxx0x-attributes.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-09-29 18:04:05 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-09-29 18:04:05 +0000
commit3497fdfdb742f55d7b7ec8e22779fb08962b8441 (patch)
tree9e0598053277e215807da8542be5e7043f65650c /test/Parser/cxx0x-attributes.cpp
parentf19076848566cb52a40ddbdb2555c53d12e9a003 (diff)
Add support for parsing an attribute-specifier-seq containing multiple
attribute-specifiers git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140794 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/cxx0x-attributes.cpp')
-rw-r--r--test/Parser/cxx0x-attributes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Parser/cxx0x-attributes.cpp b/test/Parser/cxx0x-attributes.cpp
index 75f23c657c..0b6413cfb2 100644
--- a/test/Parser/cxx0x-attributes.cpp
+++ b/test/Parser/cxx0x-attributes.cpp
@@ -13,6 +13,7 @@ void fn_attr () [[]];
class [[]] class_attr {};
extern "C++" [[]] int extern_attr;
template <typename T> [[]] void template_attr ();
+[[]] [[]] int [[]] [[]] multi_attr [[]] [[]];
int comma_attr [[,]]; // expected-error {{expected identifier}}
int scope_attr [[foo::]]; // expected-error {{expected identifier}}