repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
warning4.C
blob
9f50ff2c24279a9e446acae08aba304f5b18b010
1
// { dg-do assemble }
2
// { dg-options "-Woverloaded-virtual" }
3
// Bug: a virtual function with the same name in an unrelated class will
4
// cause a bogus overloading warning.
5
6
struct A {
7
virtual void foo ();
8
};
9
10
struct B {
11
virtual void bar ();
12
};
13
14
struct C: public A {
15
virtual void bar ();
16
};