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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [gdb/] [testsuite/] [gdb.cp/] [pr-1210.cc] - Rev 816

Go to most recent revision | 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;
}
 

Go to most recent revision | 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.