]> granicus.if.org Git - clang/commitdiff
Use a triple ensure that __has_feature(c_thread_local) is 1 in C11 mode.
authorDouglas Gregor <dgregor@apple.com>
Thu, 2 May 2013 16:22:34 +0000 (16:22 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 2 May 2013 16:22:34 +0000 (16:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180925 91177308-0d34-0410-b5e6-96231b3b80d8

test/Lexer/has_feature_c1x.c

index fe2640bbda33c3d2523baef44cbee00db3674020..e26e309c037101ecf7fcb4501bb34e721985285c 100644 (file)
@@ -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)