aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/tls-init-funcs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenCXX/tls-init-funcs.cpp')
-rw-r--r--test/CodeGenCXX/tls-init-funcs.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/CodeGenCXX/tls-init-funcs.cpp b/test/CodeGenCXX/tls-init-funcs.cpp
deleted file mode 100644
index 653d6e3910..0000000000
--- a/test/CodeGenCXX/tls-init-funcs.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin11.0.0 -std=c++11 -emit-llvm %s -o - | FileCheck -check-prefix=BITCODE %s
-// RUN: %clang_cc1 -triple x86_64-apple-darwin11.0.0 -std=c++11 -S %s -o - | FileCheck -check-prefix=ASM %s
-
-// BITCODE: @llvm.tls_init_funcs = appending global [1 x void ()*] [void ()* @__tls_init]
-
-struct A {
- A();
-};
-
-struct B {
- int i;
- B(int i);
-};
-
-thread_local int i = 37;
-thread_local A a;
-thread_local B b(927);
-
-// ASM: .section __DATA,__thread_init,thread_local_init_function_pointers
-// ASM: .align 3
-// ASM: .quad ___tls_init