commit | 91f31dc234bbc98f3dd20e6741a7b0b98c7916bf | [log] [tgz] |
---|---|---|
author | Eric Christopher <echristo@apple.com> | Sun Aug 08 01:37:14 2010 +0000 |
committer | Eric Christopher <echristo@apple.com> | Sun Aug 08 01:37:14 2010 +0000 |
tree | 5d15a9c1c4a7b97c07bc1f8f5bed10798591aa64 | |
parent | 0d30a87e124bb0273fedce3b62401039073fdece [diff] [blame] |
Thread local variables aren't considered common linkage. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110530 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/thread-specifier.c b/test/CodeGen/thread-specifier.c index b1e1ed8..a16103f 100644 --- a/test/CodeGen/thread-specifier.c +++ b/test/CodeGen/thread-specifier.c
@@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple i686-pc-linux-gnu -emit-llvm -o - %s | grep thread_local | count 4 +// RUN: %clang_cc1 -triple i686-pc-linux-gnu -emit-llvm -o - %s | not grep common __thread int a; extern __thread int b;