summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2011-10-11 21:51:31 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2011-10-11 21:51:31 +0000
commit7ab47734a218922ac881b8e8b32e9ba085a902b0 (patch)
tree7f2027280bbe4806b6a5c8661f8b38116242bdfa
parent453ac88b56b2b94e124ee3b830198cb7f6a743a3 (diff)
downloadbcm5719-llvm-7ab47734a218922ac881b8e8b32e9ba085a902b0.tar.gz
bcm5719-llvm-7ab47734a218922ac881b8e8b32e9ba085a902b0.zip
Fix test: don't use __thread without a target triple.
llvm-svn: 141719
-rw-r--r--clang/test/Lexer/cxx0x_keyword_as_cxx98.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Lexer/cxx0x_keyword_as_cxx98.cpp b/clang/test/Lexer/cxx0x_keyword_as_cxx98.cpp
index a9ea2197248..d87d3dc7faf 100644
--- a/clang/test/Lexer/cxx0x_keyword_as_cxx98.cpp
+++ b/clang/test/Lexer/cxx0x_keyword_as_cxx98.cpp
@@ -1,8 +1,8 @@
// RUN: %clang_cc1 %s -verify -fsyntax-only
-#define thread_local __thread
-thread_local int x;
-#undef thread_local
+#define constexpr const
+constexpr int x = 0;
+#undef constexpr
namespace lib {
struct nullptr_t;
OpenPOWER on IntegriCloud