Home | History | Annotate | Download | only in CodeGenCXX
      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 
      6 struct A {
      7   ~A();
      8 };
      9 
     10 thread_local A a;
     11