You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
237 B

class B0
{
char m0;
public:
B0();
};
B0::B0()
: m0(0)
{}
class B1
{
unsigned m0;
public:
B1();
};
B1::B1()
: m0(0)
{}
class S : public B0, public B1
{
char m0;
public:
S();
};
S::S()
: m0(0)
{}
void
foo(S&)
{}