class A {
public:
A(int) {}
A& operator=(int){return *this;}
};
class B: public A {
using A::A;
using A::operator=;
};
int main()
{
B a(1), b(1);
a = b;
return 0;
}
Y2xhc3MgQSB7CnB1YmxpYzoKICAgIEEoaW50KSB7fQogICAgQSYgb3BlcmF0b3I9KGludCl7cmV0dXJuICp0aGlzO30KfTsKCmNsYXNzIEI6IHB1YmxpYyBBIHsKICAgIHVzaW5nIEE6OkE7CiAgICB1c2luZyBBOjpvcGVyYXRvcj07Cn07CgppbnQgbWFpbigpCnsKICAgIEIgYSgxKSwgYigxKTsKICAgIGEgPSBiOwogICAgcmV0dXJuIDA7Cn0K