xref: /aosp_15_r20/external/clang/test/CodeGenCXX/virtual-destructor-synthesis.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s
2 
3 struct box {
4   virtual ~box();
5 };
6 
7 struct pile_box : public box {
8   pile_box(box *);
9 };
10 
pile_box(box * pp)11 pile_box::pile_box(box *pp)
12 {
13 }
14 
15 // CHECK: call {{.*}}void @_ZdlPv
16 
17