OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [warn/] [Wreorder-1.C] - Blame information for rev 325

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

Line No. Rev Author Line
1 301 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.