1 // RUN: %clang_cc1 %s -triple x86_64-apple-darwin -S -stack-protector 2 -emit-llvm -o - | FileCheck %s 2 3 class A { 4 public: ~A()5 virtual ~A() {} 6 }; 7 8 A g; 9 10 // CHECK: define internal void @__cxx_global_var_init() [[ATTR0:#[0-9]+]] 11 // CHECK: define internal void @_GLOBAL__sub_I_funcattrs_global_ctor_dtor.cpp() [[ATTR0]] 12 // CHECK: attributes [[ATTR0]] = {{{.*}} sspstrong {{.*}}} 13