clang-1/test/CodeGenCXX/virt-canonical-decl.cpp

20 строки
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()
{
}