summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/break/vbase11.h
blob: a298f764415f703a33b5b0fa29db66839c441e83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
struct base
{
  short b;
  virtual int foo();
};

struct derived: virtual base
{
  int d;
  virtual int foo();
  virtual int bar();
};