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

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

OpenPOWER on IntegriCloud