| 7 | using namespace std; |
| 8 | |
| 9 | class A |
| 10 | { |
| 11 | public: |
| 12 | explicit A(int _a):a(_a){}; |
| 13 | friend int geta(A &ca); // 友元函数 |
| 14 | friend class B; |
| 15 | private: |
| 16 | int a; |
| 17 | }; |
| 18 | |
| 19 | class B |
| 20 | { |
nothing calls this directly
no outgoing calls
no test coverage detected