diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-04-19 21:48:33 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-04-19 21:48:33 +0000 |
commit | daea3f62b561afddb8f86c1862de41a9bce6a66b (patch) | |
tree | 4b155f8608143859c811e60c15ac6861301146b1 /clang/test/CodeGen/thread-specifier.c | |
parent | d88c8a104f74f885717cfefddf5d02d3c05a5461 (diff) | |
download | bcm5719-llvm-daea3f62b561afddb8f86c1862de41a9bce6a66b.tar.gz bcm5719-llvm-daea3f62b561afddb8f86c1862de41a9bce6a66b.zip |
Print an error for uses of __thread on targets which don't support it.
llvm-svn: 69553
Diffstat (limited to 'clang/test/CodeGen/thread-specifier.c')
-rw-r--r-- | clang/test/CodeGen/thread-specifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/thread-specifier.c b/clang/test/CodeGen/thread-specifier.c index 08992a6e229..456f7a6d976 100644 --- a/clang/test/CodeGen/thread-specifier.c +++ b/clang/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; |