diff options
| author | Eric Christopher <echristo@apple.com> | 2011-07-02 00:28:30 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@apple.com> | 2011-07-02 00:28:30 +0000 |
| commit | dba0288cbf654a7ddc1a890c19b59d6c8acdaf72 (patch) | |
| tree | 481c132991143b0378b03850565cd160e5134047 | |
| parent | 65863102630f379832f47daaeea326fd8c279b1f (diff) | |
| download | llvm-dba0288cbf654a7ddc1a890c19b59d6c8acdaf72.zip llvm-dba0288cbf654a7ddc1a890c19b59d6c8acdaf72.tar.gz llvm-dba0288cbf654a7ddc1a890c19b59d6c8acdaf72.tar.bz2 | |
Add a testcase for r134292.
Part of rdar://9714064
llvm-svn: 134295
| -rw-r--r-- | clang/test/CodeGen/darwin-thread-specifier.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/CodeGen/darwin-thread-specifier.c b/clang/test/CodeGen/darwin-thread-specifier.c new file mode 100644 index 0000000..605d461 --- /dev/null +++ b/clang/test/CodeGen/darwin-thread-specifier.c @@ -0,0 +1,3 @@ +// RUN: %clang_cc1 -triple x86_64-apple-macosx10.7.0 -emit-llvm -o - %s | FileCheck %s +// CHECK: @b = thread_local global i32 5, align 4 +__thread int b = 5; |
