OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cp/:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wreorder-1.C
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
};