1 // RUN: %clang_cc1 %s -emit-llvm -triple %itanium_abi_triple -o - | FileCheck %s
3 #define WEAK __attribute__ ((weak))
18 class C
: public T1
, public B
, public T
{
23 class V1
: public virtual A
{
27 class V2
: public virtual V1
{
33 // CHECK: @_ZTS1A = weak_odr {{(dso_local |hidden )?}}constant
34 // CHECK: @_ZTI1A = weak_odr {{(dso_local |hidden )?}}constant
35 // CHECK: @_ZTS1B = weak_odr {{(dso_local |hidden )?}}constant
36 // CHECK: @_ZTI1B = weak_odr {{(dso_local |hidden )?}}constant
37 // CHECK: @_ZTS1C = weak_odr {{(dso_local |hidden )?}}constant
38 // CHECK: @_ZTS2T1 = linkonce_odr {{(dso_local |hidden )?}}constant
39 // CHECK: @_ZTI2T1 = linkonce_odr {{(dso_local |hidden )?}}constant
40 // CHECK: @_ZTS1T = linkonce_odr {{(dso_local |hidden )?}}constant
41 // CHECK: @_ZTI1T = linkonce_odr {{(dso_local |hidden )?}}constant
42 // CHECK: @_ZTI1C = weak_odr {{(dso_local |hidden )?}}constant
43 // CHECK: @_ZTS2V1 = weak_odr {{(dso_local |hidden )?}}constant
44 // CHECK: @_ZTI2V1 = weak_odr {{(dso_local |hidden )?}}constant
45 // CHECK: @_ZTS2V2 = weak_odr {{(dso_local |hidden )?}}constant
46 // CHECK: @_ZTI2V2 = weak_odr {{(dso_local |hidden )?}}constant