2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
|
2009-12-06 17:26:33 +08:00
|
|
|
// PR5695
|
|
|
|
|
|
|
|
struct A { A(const A&); ~A(); };
|
|
|
|
A& a();
|
|
|
|
void b() {
|
|
|
|
A x = a();
|
|
|
|
}
|
|
|
|
|
2011-06-14 06:51:21 +08:00
|
|
|
// CHECK: call {{.*}} @_ZN1AC1ERKS_
|
|
|
|
// CHECK: call {{.*}} @_ZN1AD1Ev
|