Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.warn
/
virt1.C
blob: c68de8a7e7c1cee9686ffdc2171b16ba9e39799c [
file
] [
log
] [
blame
]
// { dg-do assemble }
// { dg-options "-Woverloaded-virtual" }
struct
A
{
virtual
void
f
();
// { dg-warning "" } hidden
};
struct
B
:
public
A
{
void
f
(
int
);
// { dg-message "" } by this
};