You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
205 B

struct A
{
virtual void foo();
virtual void bar() = 0;
virtual void baz() const {
}
};
struct B : public A
{
virtual void foo() override;
void bar() override {
}
void baz() const override {
}
};