mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 09:06:06 +00:00

Conversion done using the script at https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34. These are tests where the conversion worked out of the box and no manual fixup was performed.
12 lines
315 B
C++
12 lines
315 B
C++
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s
|
|
|
|
template <class T> struct A { A(); };
|
|
struct B { A<int> x; };
|
|
void a() {
|
|
B b;
|
|
}
|
|
|
|
// CHECK: call {{.*}} @_ZN1BC1Ev
|
|
// CHECK: define linkonce_odr {{.*}} @_ZN1BC1Ev(ptr {{.*}}%this) unnamed_addr
|
|
// CHECK: call {{.*}} @_ZN1AIiEC1Ev
|