| Daniel Dunbar | 8fbe78f | 2009-12-15 20:14:24 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s |
| Fariborz Jahanian | 4d9ab43 | 2009-12-01 23:18:25 +0000 | [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 | |||||
| 15 | // CHECK: call void @_ZdlPv | ||||
| 16 | |||||