From: Douglas Gregor Date: Thu, 2 May 2013 16:22:34 +0000 (+0000) Subject: Use a triple ensure that __has_feature(c_thread_local) is 1 in C11 mode. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=634189d729595b340205dd8a5216ba3122c7a2ab;p=clang 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 --- 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)