commit | 4fb71b0cc3c199cc0c736b4ec4fabdd01f56f4e8 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Sun Apr 19 21:48:33 2009 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Sun Apr 19 21:48:33 2009 +0000 |
tree | 1c770a07c9898783a6a5441f548b082abbab3d91 | |
parent | b030f0272500c6c5602f587ac029ee0dc0e5a05c [diff] [blame] |
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
diff --git a/test/CodeGen/thread-specifier.c b/test/CodeGen/thread-specifier.c index 08992a6..456f7a6 100644 --- a/test/CodeGen/thread-specifier.c +++ b/test/CodeGen/thread-specifier.c
@@ -1,4 +1,4 @@ -// RUN: clang-cc -emit-llvm -o - %s | grep thread_local | count 4 +// RUN: clang-cc -triple i686-pc-linux-gnu -emit-llvm -o - %s | grep thread_local | count 4 __thread int a; extern __thread int b;