xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/virtual-inherited-destructor.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
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