netbsd/external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-cast-crash.cpp
2015-10-15 10:25:28 +02:00

22 lines
187 B
C++

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