1*67e74705SXin Li // RUN: %clang_cc1 -o - -triple %itanium_abi_triple -emit-llvm %s | FileCheck %s 2*67e74705SXin Li // PR5483 3*67e74705SXin Li 4*67e74705SXin Li // Make sure we generate all three forms of the destructor when it is virtual. 5*67e74705SXin Li class Foo { 6*67e74705SXin Li virtual ~Foo(); 7*67e74705SXin Li }; ~Foo()8*67e74705SXin LiFoo::~Foo() {} 9*67e74705SXin Li 10*67e74705SXin Li // CHECK-LABEL: define {{.*}}void @_ZN3FooD0Ev(%class.Foo* %this) unnamed_addr 11