]> granicus.if.org Git - clang/commitdiff
Fix test: don't use __thread without a target triple.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 11 Oct 2011 21:51:31 +0000 (21:51 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 11 Oct 2011 21:51:31 +0000 (21:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141719 91177308-0d34-0410-b5e6-96231b3b80d8

test/Lexer/cxx0x_keyword_as_cxx98.cpp

index a9ea2197248bca9b534e85077d3f57a81d4662ee..d87d3dc7faffbb0a9f67c8ba64154a0e4f394fd6 100644 (file)
@@ -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;