aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/break/bitfield5.h
blob: 6f7f012cc6be735a0431cebbab53f948e59bd0c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
struct A {
  virtual void f();
  int f1 : 1;
};

struct B : public A {
  int f2 : 1;
  int : 0;
  int f3 : 4;
  int f4 : 3;
};