llvm-for-llvmta/tools/clang/test/CodeGenCXX/vtable-cast-crash.cpp

22 lines
187 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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()
{
}