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