summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/virtual-inherited-destructor.cpp
blob: 52b62edd2944758db824c10c0896a3aa86a47a81 (plain)
1
2
3
4
5
6
7
8
// RUN: clang-cc %s -emit-llvm-only

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