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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [gdb/] [testsuite/] [gdb.cp/] [pr-1210.cc] - Blame information for rev 157

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
class A
2
{
3
};
4
 
5
class B : virtual public A
6
{
7
};
8
 
9
class C : public A
10
{
11
     protected:
12
         B myB;
13
};
14
 
15
int main()
16
{
17
     C *obj = new C();
18
     return 0;
19
}

powered by: WebSVN 2.1.0

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