1 struct A { 2 virtual void f(); 3 int f1 : 1; 4 }; 5 6 struct B : public A { 7 int f2 : 1; 8 int : 0; 9 int f3 : 4; 10 int f4 : 3; 11 }; 12