| 24 | }; |
| 25 | |
| 26 | typedef struct Base1 { |
| 27 | int v1; |
| 28 | // private: //error! |
| 29 | int v3; |
| 30 | public: //显示声明public |
| 31 | int v2; |
| 32 | static void print(){ |
| 33 | printf("%s\n","hello world"); |
| 34 | }; |
| 35 | } B; |
| 36 | |
| 37 | struct Derived:Base { |
| 38 |
nothing calls this directly
no outgoing calls
no test coverage detected