| 70 | }; |
| 71 | |
| 72 | class B |
| 73 | { |
| 74 | public: |
| 75 | B() {} |
| 76 | |
| 77 | B(const std::string& d) |
| 78 | { |
| 79 | str_ = d; |
| 80 | }; |
| 81 | |
| 82 | B& operator=(const std::string& s) |
| 83 | { |
| 84 | str_ = s; |
| 85 | return *this; |
| 86 | }; |
| 87 | |
| 88 | ~B() |
| 89 | { |
| 90 | std::cout << "B destructed: " << str_ << std::endl; |
| 91 | }; |
| 92 | |
| 93 | private: |
| 94 | std::string str_; |
| 95 | char n[256]; |
| 96 | }; |
| 97 | |
| 98 | class T_TEST |
| 99 | { |
nothing calls this directly
no outgoing calls
no test coverage detected