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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [warn/] [pr21983.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/21983
2
// { dg-do compile }
3
 
4
struct B { virtual void foo () = 0; };
5
struct D1 : public virtual B { virtual void foo () {} };
6
struct D2 : public virtual B { virtual void foo () {} };
7
struct D : public D1, public D2 { };    // { dg-error "no unique final overrider" }

powered by: WebSVN 2.1.0

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