class foo
{
};
class bar : public foo
{
};
int main()
{
bar b;
foo& f = b;
return ( 0 );
}
Y2xhc3MgZm9vCnsKICAgIAp9OwoKY2xhc3MgYmFyIDogcHVibGljIGZvbwp7CiAgICAKfTsKCmludCBtYWluKCkKewogICAgYmFyIGI7CiAgICBmb28mIGYgPSBiOwogICAgCiAgICByZXR1cm4gKCAwICk7Cn0=