default-constructor-template-member.cpp revision c5f657fe308f22243f674fc1dfbe24915944d8bf
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 void @_ZN1BC1Ev 9// CHECK: define linkonce_odr unnamed_addr void @_ZN1BC1Ev 10// CHECK: call void @_ZN1AIiEC1Ev 11