| 2 | // SPDX-License-Identifier: MIT |
| 3 | |
| 4 | struct Car { // #A Base class for all cars |
| 5 | virtual ~Car() = default; |
| 6 | virtual int speed() const = 0; |
| 7 | }; |
| 8 | |
| 9 | // #B Various concrete cars with individual speed |
| 10 | struct Mercedes : Car { |
nothing calls this directly
no outgoing calls
no test coverage detected