aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/thread-specifier.c
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-04-19 21:48:33 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-04-19 21:48:33 +0000
commit4fb71b0cc3c199cc0c736b4ec4fabdd01f56f4e8 (patch)
tree1c770a07c9898783a6a5441f548b082abbab3d91 /test/Sema/thread-specifier.c
parentb030f0272500c6c5602f587ac029ee0dc0e5a05c (diff)
Print an error for uses of __thread on targets which don't support it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/thread-specifier.c')
-rw-r--r--test/Sema/thread-specifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/thread-specifier.c b/test/Sema/thread-specifier.c
index 1d711c1b27..8d66e539c8 100644
--- a/test/Sema/thread-specifier.c
+++ b/test/Sema/thread-specifier.c
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang-cc -triple i686-pc-linux-gnu -fsyntax-only -verify %s
__thread int t1;
__thread extern int t2;