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" }
};