class A {
public:
virtual void foo();
virtual void bar();
};
class B : public A {
void foo() override;