projects
/
platform
/
upstream
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re PR c++/71465 (ICE on invalid C++ code (with duplicate base) on x86_64-linux-gnu...
[platform/upstream/gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
pr61945.C
1
// PR c++/61945
2
// { dg-do compile }
3
// { dg-options "-Woverloaded-virtual" }
4
5
class A {
6
virtual int foo (); // { dg-warning "was hidden" }
7
};
8
class B : A {
9
template <typename>
10
void foo (); // { dg-warning "by .B::foo\\(\\)." }
11
};