| 2 | #include <iostream> |
| 3 | |
| 4 | struct B { |
| 5 | virtual void f(int) { std::cout << "B::f\n"; } |
| 6 | void g(char) { std::cout << "B::g\n"; } |
| 7 | void h(int) { std::cout << "B::h\n"; } |
| 8 | |
| 9 | protected: |
| 10 | int m; // B::m is protected |
| 11 | typedef int value_type; |
| 12 | }; |
| 13 | |
| 14 | template<typename T> |
| 15 | struct D : B { |
nothing calls this directly
no outgoing calls
no test coverage detected