xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/virt-dtor-key.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s
2*0a6a1f1dSLionel Sambuc // CHECK: @_ZTI3foo = constant
3f4a2713aSLionel Sambuc class foo {
4f4a2713aSLionel Sambuc    foo();
5f4a2713aSLionel Sambuc    virtual ~foo();
6f4a2713aSLionel Sambuc };
7f4a2713aSLionel Sambuc 
~foo()8f4a2713aSLionel Sambuc foo::~foo() {
9f4a2713aSLionel Sambuc }
10