From 0c91cce098fcf9081157c0a0d8b2282573926879 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Tue, 11 Oct 2011 21:51:31 +0000 Subject: [PATCH] Fix test: don't use __thread without a target triple. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141719 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Lexer/cxx0x_keyword_as_cxx98.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Lexer/cxx0x_keyword_as_cxx98.cpp b/test/Lexer/cxx0x_keyword_as_cxx98.cpp index a9ea219724..d87d3dc7fa 100644 --- a/test/Lexer/cxx0x_keyword_as_cxx98.cpp +++ b/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; -- 2.40.0