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
/
pr21983.C
blob
3021c3ff5003b51f6d7fca11e5f6a69f8240da1f
1
// PR c++/21983
2
// { dg-do compile }
3
4
struct B { virtual void foo () = 0; };
5
struct D1 : public virtual B { virtual void foo () {} };
6
struct D2 : public virtual B { virtual void foo () {} };
7
struct D : public D1, public D2 { }; // { dg-warning "no unique final overrider" }