| Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s |
| Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 2 | |
| 3 | struct box { | ||||
| 4 | virtual ~box(); | ||||
| 5 | }; | ||||
| 6 | |||||
| 7 | struct pile_box : public box { | ||||
| 8 | pile_box(box *); | ||||
| 9 | }; | ||||
| 10 | |||||
| 11 | pile_box::pile_box(box *pp) | ||||
| 12 | { | ||||
| 13 | } | ||||
| 14 | |||||
| Pirama Arumuga Nainar | 87d948e | 2016-03-03 15:49:35 -0800 | [diff] [blame^] | 15 | // CHECK: call {{.*}}void @_ZdlPv |
| Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 16 | |