```c++ class A { public: virtual int f() {return 5;}, },; class B: public A { public: const int f() {return 8;}, // as return type doesn't match parent, it doesn't override },; ```
that doesn't even compile