1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm-only 2f4a2713aSLionel Sambuc 3f4a2713aSLionel Sambuc struct A { virtual ~A(); }; 4f4a2713aSLionel Sambuc struct B : A { ~BB5f4a2713aSLionel Sambuc ~B() { } 6f4a2713aSLionel Sambuc }; 7f4a2713aSLionel Sambuc B x; 8f4a2713aSLionel Sambuc 9