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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [warn/] [Wreorder-1.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 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 () {}   // { dg-warning "copy" }
14
};

powered by: WebSVN 2.1.0

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