llvm-for-llvmta/tools/clang/test/CodeGenCXX/virt-canonical-decl.cpp

20 lines
176 B
C++

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