summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/inherit/thunk11.h
blob: 641f40e4e828ac673bdee09c7f5b062ca782de20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
struct A
{
  A () {}
  virtual ~A () {}
};
struct B
{
  B () {}
  virtual ~B () {}
};
struct C : public A, public B
{
  virtual void foo ();
  virtual ~C () {};
};
inline void C::foo () {}