2014-01-15 03:35:09 +08:00
|
|
|
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s
|
2009-12-07 08:22:08 +08:00
|
|
|
|
|
|
|
template <class T> struct A { A(); };
|
|
|
|
struct B { A<int> x; };
|
|
|
|
void a() {
|
|
|
|
B b;
|
|
|
|
}
|
2013-07-01 04:40:16 +08:00
|
|
|
|
2013-06-19 04:51:51 +08:00
|
|
|
// CHECK: call {{.*}} @_ZN1BC1Ev
|
2013-07-01 04:40:16 +08:00
|
|
|
// CHECK: define linkonce_odr {{.*}} @_ZN1BC1Ev(%struct.B* {{.*}}%this) unnamed_addr
|
2013-06-19 04:51:51 +08:00
|
|
|
// CHECK: call {{.*}} @_ZN1AIiEC1Ev
|