1 // RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s
3 template<class T
> class A
{
13 template class A
<long>;
15 extern template class A
<short>;
16 template class A
<short>;
19 // CHECK: @_ZTV1B = linkonce_odr {{(dso_local )?}}unnamed_addr constant
20 // CHECK: @_ZTV1AIlE = weak_odr {{(dso_local )?}}unnamed_addr constant
21 // CHECK: @_ZTV1AIsE = weak_odr {{(dso_local )?}}unnamed_addr constant
22 // CHECK: @_ZTV1AIiE = linkonce_odr {{(dso_local )?}}unnamed_addr constant
24 template<class T
> struct C
{
32 // CHECK: define {{.*}}@_ZN1CIiE1cEv(