aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/vtable-cast-crash.cpp
blob: a91d9790fe65c58774063f742fc4b27751ca4f5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// RUN: clang-cc -emit-llvm-only %s
struct A
{
A();    
virtual ~A();
};

struct B: A
{
  B();
  ~B();
};

B::B()
{
}

B::~B()
{
}