| 35 | } B; |
| 36 | |
| 37 | struct Derived:Base { |
| 38 | |
| 39 | Derived() { |
| 40 | cout<<"Derived construct"<<endl; |
| 41 | }; |
| 42 | ~Derived() override { |
| 43 | cout<<"Derived deconstruct"<<endl; |
| 44 | }; |
| 45 | public: |
| 46 | int v2 {}; |
| 47 | static void print(){ |
| 48 | printf("%s\n","Derived, hello world!"); |
| 49 | }; |
| 50 | }; |
| 51 | |
| 52 | |
| 53 | //void Base(){ |
nothing calls this directly
no outgoing calls
no test coverage detected