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
Merge reload-branch up to revision 101000
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
virtual6.C
blob
37a1797fb5cff439c5a9613c4ee20f744bda556f
1
// { dg-do assemble }
2
// { dg-options "-Woverloaded-virtual" }
3
// Bug: g++ checks certain non-virtual functions to see if they override
4
// virtual functions.
5
// Submitted by Jason Merrill <jason@cygnus.com>
6
7
struct A {
8
virtual void f (int);
9
};
10
11
struct B: public A {
12
static void f ();
13
void f (int);
14
};