summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/expr/dtor3.C
blob: 036e9f2a0108d0842c1df5ca2322b8b2c69e3891 (plain)
1
2
3
4
5
6
7
8
9
10
struct B {
  ~B();
};
struct D : public B {
  ~D();
};

void f(D d) {
  d.B::~B();
}