summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/inherit/local1.C
blob: 3cb196c38d3c2c32913cc59708fad581019afdd1 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/17121

struct A {
  virtual ~A() {}
};

void tsk_tsk()
{
  struct B : public A {};
}