struct A
{
virtual const char* foo() = 0;
};
struct B : A
{
char* foo() { return 0; }
};
int main()
{
B b;
}
c3RydWN0IEEKewogIHZpcnR1YWwgY29uc3QgY2hhciogZm9vKCkgPSAwOyAgCn07CgpzdHJ1Y3QgQiA6IEEKewogIGNoYXIqIGZvbygpIHsgcmV0dXJuIDA7IH0gIAp9OwoKaW50IG1haW4oKQp7CiAgICBCIGI7Cn0=