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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [virt1.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
 
3
struct S0 { virtual void f1 () { } };
4
 
5
struct S1 : virtual public S0 { virtual void f1 () { } };
6
 
7
struct S2 : public S1 { virtual void f1 () { } };
8
 
9
struct S3 : virtual public S0 { virtual void f1 () { } };
10
 
11
struct S4 : public S3 { };
12
 
13
void creator () { new S4; }

powered by: WebSVN 2.1.0

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