minix/external/bsd/llvm/dist/clang/test/CodeGenCXX/virt-canonical-decl.cpp

20 lines
176 B
C++
Raw Normal View History

// RUN: %clang_cc1 %s -emit-llvm-only
class Base {
public:
virtual ~Base();
};
Base::~Base()
{
}
class Foo : public Base {
public:
virtual ~Foo();
};
Foo::~Foo()
{
}