mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-14 08:31:28 -04:00
12 lines
229 B
C++
12 lines
229 B
C++
// RUN: %clang_cc1 %s -emit-llvm -triple %itanium_abi_triple -o - | FileCheck %s
|
|
// PR5695
|
|
|
|
struct A { A(const A&); ~A(); };
|
|
A& a();
|
|
void b() {
|
|
A x = a();
|
|
}
|
|
|
|
// CHECK: call {{.*}} @_ZN1AC1ERKS_
|
|
// CHECK: call {{.*}} @_ZN1AD1Ev
|