Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wsuggest-override-2.C
blob: 4948902e9303d3d7aa6247c5dc956705a931deb4 [
file
] [
log
] [
blame
]
// PR c++/78010
// { dg-options "-std=c++11 -Wsuggest-override" }
struct
A
{
virtual
void
f
();
};
struct
B
:
A
{
void
f
()
final
;
// { dg-bogus "can be marked override" }
};