summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/pr47218.h
blob: 1b07da7464c6f1b85d027a7540916e486f0df5cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
class FooBaseBase0
{
public:
  virtual ~FooBaseBase0 () {}
};

class FooBaseBase1
{
public:
  virtual void Bar() {}
};


class FooBase: public FooBaseBase0, public FooBaseBase1
{
public:
  virtual void Bar() {}
};

class Foo2: public FooBase
{
public:
  ~Foo2 ();
  virtual void Bar();
};

class Foo3: public FooBase
{
public:
  ~Foo3 ();
  virtual void Bar();
};