blob: e0a17e0e4f71f58bd0de19efb1122a40a46d53e3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// RUN: clang-cc -emit-llvm %s -o - | FileCheck %s
template <class T> struct A { A(); };
struct B { A<int> x; };
void a() {
B b;
}
// CHECK: call void @_ZN1BC1Ev
// CHECK: define linkonce_odr void @_ZN1BC1Ev
// CHECK: call void @_ZN1AIiEC1Ev
|