summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/virtual-inherited-destructor.cpp
blob: 509d40ae2fef3a8e767837129dc8d12c818102d5 (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 %s -emit-llvm-only

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