Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 157 Bytes
class A
{
};
class B : virtual public A
{
};
class C : public A
{
protected:
B myB;
};
int main()
{
C *obj = new C();
return 0;
}
Something went wrong with that request. Please try again.