repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wreorder-1.C
blob
bd8113a2a47c0afeaae770756bae59937fc9bebf
1
// { 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
};