blob: 5747e5da58d7966c0cf92cb68e621a3e3d4e43dc [file] [log] [blame]
class A
{
};
class B : virtual public A
{
};
class C : public A
{
protected:
B myB;
};
int main()
{
C *obj = new C();
return 0;
}