Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Woverloaded-virt4.C
blob: b4d86689cf5d26953a7e05d4d8d25c7f58b3c03d [
file
] [
log
] [
blame
]
// PR c++/87729
// { dg-additional-options -Woverloaded-virtual }
struct
S1
{
virtual
void
f
();
};
struct
S2
:
S1
{};
struct
S3
:
S1
{};
struct
S4
:
S2
,
S3
{
void
f
();
};