commit | dba0288cbf654a7ddc1a890c19b59d6c8acdaf72 | [log] [tgz] |
---|---|---|
author | Eric Christopher <echristo@apple.com> | Sat Jul 02 00:28:30 2011 +0000 |
committer | Eric Christopher <echristo@apple.com> | Sat Jul 02 00:28:30 2011 +0000 |
tree | 481c132991143b0378b03850565cd160e5134047 | |
parent | 65863102630f379832f47daaeea326fd8c279b1f [diff] [blame] |
Add a testcase for r134292. Part of rdar://9714064 llvm-svn: 134295
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;