Virtual class invokes base-class function instead of overwritten one

In reply to bmorris:

Sorry, B::run was intended to be B::do_sth(). I’ve updated the samples.