r180925 - Use a triple ensure that __has_feature(c_thread_local) is 1 in C11 mode.

Douglas Gregor dgregor at apple.com
Thu May 2 09:22:34 PDT 2013


Author: dgregor
Date: Thu May  2 11:22:34 2013
New Revision: 180925

URL: http://llvm.org/viewvc/llvm-project?rev=180925&view=rev
Log:
Use a triple ensure that __has_feature(c_thread_local) is 1 in C11 mode.

Modified:
    cfe/trunk/test/Lexer/has_feature_c1x.c

Modified: cfe/trunk/test/Lexer/has_feature_c1x.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/has_feature_c1x.c?rev=180925&r1=180924&r2=180925&view=diff
==============================================================================
--- cfe/trunk/test/Lexer/has_feature_c1x.c (original)
+++ cfe/trunk/test/Lexer/has_feature_c1x.c Thu May  2 11:22:34 2013
@@ -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)





More information about the cfe-commits mailing list