1// RUN: %clang_cc1 -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// CHECK: call {{.*}} @_ZN1BC1Ev
9// CHECK: define linkonce_odr {{.*}} @_ZN1BC1Ev(%struct.B* %this) unnamed_addr
10// CHECK: call {{.*}} @_ZN1AIiEC1Ev
11