Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" }
};