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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [override1.C] - Blame information for rev 823

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

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do assemble  }
2
// Origin: Frank Pilhofer 
3
 
4
struct A {
5
virtual void f ();
6
};
7
 
8
struct B : virtual public A {
9
void f ();
10
};
11
 
12
struct C : virtual public A {
13
void f ();
14
};
15
 
16
struct D : virtual public B, virtual public C {
17
void f ();
18
};
19
 
20
struct Di : virtual public B, virtual public C, virtual public D {};

powered by: WebSVN 2.1.0

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