summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/virtual-inherited-destructor.cpp
blob: 3ca7b6df8c3d4e6829009280828ae087d5809a47 (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm-only

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