aboutsummaryrefslogblamecommitdiff
path: root/test/CodeGenCXX/vtable-cast-crash.cpp
blob: 58f9e0bf8f76852881c718e92a2040aa12b25c87 (plain) (tree)
1
                                                                 



















                         
// 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()
{
}