mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 16:30:53 -05:00
11 lines
197 B
C++
11 lines
197 B
C++
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
|
|
// PR5695
|
|
|
|
struct A { A(const A&); ~A(); };
|
|
A& a();
|
|
void b() {
|
|
A x = a();
|
|
}
|
|
|
|
// CHECK: call void @_ZN1AC1ERKS_
|
|
// CHECK: call void @_ZN1AD1Ev
|