Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
      2 // PR5695
      3 
      4 struct A { A(const A&); ~A(); };
      5 A& a();
      6 void b() {
      7   A x = a();
      8 }
      9 
     10 // CHECK: call {{.*}} @_ZN1AC1ERKS_
     11 // CHECK: call {{.*}} @_ZN1AD1Ev
     12