aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/cxx0x-decl.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-04-12 22:46:28 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-04-12 22:46:28 +0000
commitec64244f5939fa81596fbeddad966cca4b4a4c51 (patch)
treeae70e896ce070c332787dd2b3be9843972cebef8 /test/Parser/cxx0x-decl.cpp
parent32b5013a7a443ff12cbaa5f3e2f86978179d5e04 (diff)
Parsing support for thread_local and _Thread_local. We give them the same
semantics as __thread for now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179424 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/cxx0x-decl.cpp')
-rw-r--r--test/Parser/cxx0x-decl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Parser/cxx0x-decl.cpp b/test/Parser/cxx0x-decl.cpp
index b9441fd681..c91cc9eb76 100644
--- a/test/Parser/cxx0x-decl.cpp
+++ b/test/Parser/cxx0x-decl.cpp
@@ -53,9 +53,8 @@ constexpr const int &ConstexprTrailingReturn::f() const { return n; }
namespace TestIsValidAfterTypeSpecifier {
struct s {} v;
-// FIXME: We should accept this once we support thread_local.
struct s
-thread_local tl; // expected-error {{expected unqualified-id}}
+thread_local tl;
struct s
&r0 = v;