summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/inherit/thunk3.C
blob: 9787aa9c6c278390bf59f2cf4808fe8d50e05b2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/18492

struct X{ ~X(); };
struct B
{
  virtual void a( X ) = 0;
}; 
struct D : public virtual B 
{
  void a( X );
}; 
void D::a( X ){}