| 6 | using namespace std; |
| 7 | |
| 8 | class Base |
| 9 | { |
| 10 | public: |
| 11 | virtual void fun (int x = 10) { |
| 12 | cout << "Base::fun(), x = " << x << endl; |
| 13 | } |
| 14 | }; |
| 15 | |
| 16 | class Derived: public Base |
| 17 | { |
nothing calls this directly
no outgoing calls
no test coverage detected