diff options
| author | Douglas Gregor <dgregor@apple.com> | 2013-05-02 16:22:34 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2013-05-02 16:22:34 +0000 |
| commit | 709499b2509e95f3d07f5f8bec4cfaeab08bce70 (patch) | |
| tree | 9c440c76cd6a368d69b23ff13877e92781b28896 | |
| parent | 6384fbb28f8ed5161ab5bb1407a7f7866205f192 (diff) | |
| download | bcm5719-llvm-709499b2509e95f3d07f5f8bec4cfaeab08bce70.tar.gz bcm5719-llvm-709499b2509e95f3d07f5f8bec4cfaeab08bce70.zip | |
Use a triple ensure that __has_feature(c_thread_local) is 1 in C11 mode.
llvm-svn: 180925
| -rw-r--r-- | clang/test/Lexer/has_feature_c1x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Lexer/has_feature_c1x.c b/clang/test/Lexer/has_feature_c1x.c index fe2640bbda3..e26e309c037 100644 --- a/clang/test/Lexer/has_feature_c1x.c +++ b/clang/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) |

