From 634189d729595b340205dd8a5216ba3122c7a2ab Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Thu, 2 May 2013 16:22:34 +0000 Subject: [PATCH] Use a triple ensure that __has_feature(c_thread_local) is 1 in C11 mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180925 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Lexer/has_feature_c1x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Lexer/has_feature_c1x.c b/test/Lexer/has_feature_c1x.c index fe2640bbda..e26e309c03 100644 --- a/test/Lexer/has_feature_c1x.c +++ b/test/Lexer/has_feature_c1x.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -E -std=c1x %s -o - | FileCheck --check-prefix=CHECK-1X %s +// RUN: %clang_cc1 -E -triple x86_64-linux-gnu -std=c1x %s -o - | FileCheck --check-prefix=CHECK-1X %s // RUN: %clang_cc1 -E %s -o - | FileCheck --check-prefix=CHECK-NO-1X %s #if __has_feature(c_atomic) -- 2.40.0