#include <cstdio>
struct b
{
virtual void f() = 0;
};
struct d final : b
{
virtual void f() final override = 0;
};
void d::f()
{
std::printf("fuck\n");
}
int main()
{
static_cast<d *>(nullptr)->f();
}
CiNpbmNsdWRlIDxjc3RkaW8+CnN0cnVjdCBiCnsKCXZpcnR1YWwgdm9pZCBmKCkgPSAwOwp9OwoKc3RydWN0IGQgZmluYWwgOiBiCnsKCXZpcnR1YWwgdm9pZCBmKCkgZmluYWwgb3ZlcnJpZGUgPSAwOwp9OwoKdm9pZCBkOjpmKCkKewoJc3RkOjpwcmludGYoImZ1Y2tcbiIpOwp9CgppbnQgbWFpbigpCnsKCXN0YXRpY19jYXN0PGQgKj4obnVsbHB0ciktPmYoKTsKfQo=