brintos

brintos / llvm-project-archived public Read only

0
0
Text · 315 B · d60d0be Raw
12 lines · cpp
1// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s2 3template <class T> struct A { A(); };4struct B { A<int> x; };5void a() {   6  B b;7}8 9// CHECK: call {{.*}} @_ZN1BC1Ev10// CHECK: define linkonce_odr {{.*}} @_ZN1BC1Ev(ptr {{.*}}%this) unnamed_addr11// CHECK: call {{.*}} @_ZN1AIiEC1Ev12