]> granicus.if.org Git - clang/commitdiff
Add a testcase for r134292.
authorEric Christopher <echristo@apple.com>
Sat, 2 Jul 2011 00:28:30 +0000 (00:28 +0000)
committerEric Christopher <echristo@apple.com>
Sat, 2 Jul 2011 00:28:30 +0000 (00:28 +0000)
Part of rdar://9714064

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134295 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/darwin-thread-specifier.c [new file with mode: 0644]

diff --git a/test/CodeGen/darwin-thread-specifier.c b/test/CodeGen/darwin-thread-specifier.c
new file mode 100644 (file)
index 0000000..605d461
--- /dev/null
@@ -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;