From 12c738d8d7aad7f122fbbbab787a0b5b482971a0 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Sat, 2 Jul 2011 00:28:30 +0000 Subject: [PATCH] Add a testcase for r134292. 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 | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/CodeGen/darwin-thread-specifier.c diff --git a/test/CodeGen/darwin-thread-specifier.c b/test/CodeGen/darwin-thread-specifier.c new file mode 100644 index 0000000000..605d461aca --- /dev/null +++ b/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;