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] - Rev 816
Compare with Previous | Blame | View Log
// { dg-do assemble }
// Origin: Frank Pilhofer <fp@fpx.de>
struct A {
virtual void f ();
};
struct B : virtual public A {
void f ();
};
struct C : virtual public A {
void f ();
};
struct D : virtual public B, virtual public C {
void f ();
};
struct Di : virtual public B, virtual public C, virtual public D {};