[cfe-commits] r141719 - /cfe/trunk/test/Lexer/cxx0x_keyword_as_cxx98.cpp
Richard Smith
richard-llvm at metafoo.co.uk
Tue Oct 11 14:51:31 PDT 2011
Author: rsmith
Date: Tue Oct 11 16:51:31 2011
New Revision: 141719
URL: http://llvm.org/viewvc/llvm-project?rev=141719&view=rev
Log:
Fix test: don't use __thread without a target triple.
Modified:
cfe/trunk/test/Lexer/cxx0x_keyword_as_cxx98.cpp
Modified: cfe/trunk/test/Lexer/cxx0x_keyword_as_cxx98.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/cxx0x_keyword_as_cxx98.cpp?rev=141719&r1=141718&r2=141719&view=diff
==============================================================================
--- cfe/trunk/test/Lexer/cxx0x_keyword_as_cxx98.cpp (original)
+++ cfe/trunk/test/Lexer/cxx0x_keyword_as_cxx98.cpp Tue Oct 11 16:51:31 2011
@@ -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;
More information about the cfe-commits
mailing list