Sign in
llvm
/
llvm-project
/
clang
/
44f14e8683f9a982c93e1c6ccdbb1e9b65d7056c
/
.
/
test
/
CodeGenCXX
/
virtual-destructor-synthesis.cpp
blob: 59272358d14547108ca68733283e90a3c3a25c24 [
file
]
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s
struct
box
{
virtual
~
box
();
};
struct
pile_box
:
public
box
{
pile_box
(
box
*);
};
pile_box
::
pile_box
(
box
*
pp
)
{
}
// CHECK: call {{.*}}void @_ZdlPv