[ create a new paste ] login | about

Link: http://codepad.org/JSferQ08    [ raw code | fork ]

C++, pasted on Mar 27:
1
2
3
4
5
6
7
8
9
class A{};
class B:public virtual A{}; 
class C:public virtual A,private B{};
 
int main()
{
    C obj;
    return 0;
}


Output:
No errors or program output.


Create a new paste based on this one


Comments: