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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [inherit/] [override1.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-options "-w" }
2
 
3
struct c0 { virtual void f (); };
4
struct c1 : public c0 {};
5
struct c2 : public c0 {};
6
struct c3 : virtual public c0, public c1, public c2 {};
7
struct c5 {};
8
struct c7 : virtual public c3 {};
9
struct c8 : virtual public c1 { virtual void f (); };
10
struct c9 {};
11
struct c10 : virtual public c8, virtual public c7 {};
12
struct c11 : virtual public c5 {};
13
struct c12 : virtual public c8, public c7 {};
14
struct c13 : public c9, public c3, virtual public c2 {};
15
struct c14 : virtual public c1, virtual public c5, virtual public c0,
16
             public c2 {};
17
struct c15 : public c14, public c12, virtual public c3 {};
18
struct c16 : public c12, public c10, public c2 { virtual void f (); };
19
struct c17 : virtual public c13, public c15, virtual public c0,
20
             virtual public c16 {};

powered by: WebSVN 2.1.0

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