| 13 | }; |
| 14 | |
| 15 | class B : virtual public A |
| 16 | { |
| 17 | public: |
| 18 | B(int data) : A(data), mb(data) { cout << "B()" << endl; } |
| 19 | ~B() { cout << "~B()" << endl; } |
| 20 | protected: |
| 21 | int mb; |
| 22 | }; |
| 23 | |
| 24 | class C : virtual public A |
| 25 | { |
nothing calls this directly
no outgoing calls
no test coverage detected