• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -triple x86_64-apple-macosx10.8 -std=c++11 -S -emit-llvm %s -o - | FileCheck %s
2 
3 // CHECK: @a = internal thread_local global
4 // CHECK: @_tlv_atexit({{.*}}@_ZN1AD1Ev
5 // CHECK: define weak hidden {{.*}} @_ZTW1a
6 
7 struct A {
8   ~A();
9 };
10 
11 thread_local A a;
12