minix/external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-cast-crash.cpp

22 lines
159 B
C++
Raw Normal View History

// RUN: %clang_cc1 -emit-llvm-only %s
struct A
{
A();
virtual ~A();
};
struct B: A
{
B();
~B();
};
B::B()
{
}
B::~B()
{
}