Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s |
Eli Friedman | 0336843 | 2009-12-06 09:26:33 +0000 | [diff] [blame] | 2 | // PR5695 |
3 | |||||
4 | struct A { A(const A&); ~A(); }; | ||||
5 | A& a(); | ||||
6 | void b() { | ||||
7 | A x = a(); | ||||
8 | } | ||||
9 | |||||
Eli Friedman | 41f1fd4 | 2011-06-13 22:51:21 +0000 | [diff] [blame] | 10 | // CHECK: call {{.*}} @_ZN1AC1ERKS_ |
11 | // CHECK: call {{.*}} @_ZN1AD1Ev |