OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gdb-7.2/] [gdb/] [testsuite/] [gdb.cp/] [pr-1210.cc] - Rev 841

Compare with Previous | Blame | View Log

class A
{
};
 
class B : virtual public A
{
};
 
class C : public A
{
     protected:
         B myB;
};
 
int main()
{
     C *obj = new C();
     return 0;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.