summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/inherit/virtual6.C
blob: f03696993212cc54e61eec6b1125ce27c9dfa60e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR c++/45473

struct A
{
  virtual void B ();
};

struct B : A
{
  B ();
};

struct C : B
{
};