summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/break/vbase10.h
blob: f418d1e56a4fb9d71d55222c781b980ebf183767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
struct A {
  virtual void f();
  char c1;
};

struct B {
  B();
  char c2;
};

struct C : public A, public virtual B {
};