| 5 | using namespace std; |
| 6 | |
| 7 | struct BankAccount |
| 8 | { |
| 9 | virtual ~BankAccount() = default; |
| 10 | virtual void deposit(int amount) = 0; |
| 11 | virtual void withdraw(int amount) = 0; |
| 12 | }; |
| 13 | |
| 14 | struct CurrentAccount : BankAccount // checking |
| 15 | { |
nothing calls this directly
no outgoing calls
no test coverage detected