1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s 2f4a2713aSLionel Sambuc 3f4a2713aSLionel Sambuc template <class T> struct A { A(); }; 4f4a2713aSLionel Sambuc struct B { A<int> x; }; a()5f4a2713aSLionel Sambucvoid a() { 6f4a2713aSLionel Sambuc B b; 7f4a2713aSLionel Sambuc } 8f4a2713aSLionel Sambuc 9f4a2713aSLionel Sambuc // CHECK: call {{.*}} @_ZN1BC1Ev 10f4a2713aSLionel Sambuc // CHECK: define linkonce_odr {{.*}} @_ZN1BC1Ev(%struct.B* {{.*}}%this) unnamed_addr 11f4a2713aSLionel Sambuc // CHECK: call {{.*}} @_ZN1AIiEC1Ev 12