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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "-Wreorder -W" }
2
 
3
struct S {
4
  S ();
5
};
6
 
7
struct T {
8
  T ();
9
};
10
 
11
struct U : virtual public S, virtual public T {
12
  U () : T (), S () {}     // { dg-warning "" }
13
  U (const U&) : S () {}
14
};

powered by: WebSVN 2.1.0

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