Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Woverloaded-virt2.C
blob: 763ab29254efc92fdc4d5aa444a0d335588d86a7 [
file
] [
log
] [
blame
]
// PR c++/20423
// { dg-additional-options -Wall }
class
Foo
{
public
:
virtual
void
f
(
int
);
virtual
void
f
(
short
);
};
class
Bar
:
public
Foo
{
public
:
virtual
void
f
(
short
);
};