1 class B0 2 { 3 char m0; 4 5 public: 6 B0(); 7 }; 8 B0()9B0::B0() 10 : m0(0) 11 {} 12 13 class B1 14 { 15 unsigned m0; 16 17 public: 18 B1(); 19 }; 20 B1()21B1::B1() 22 : m0(0) 23 {} 24 25 class S : public B0, public B1 26 { 27 char m0; 28 29 public: 30 S(); 31 }; 32 S()33S::S() 34 : m0(0) 35 {} 36 37 void foo(S &)38foo(S&) 39 {} 40