| 5 | #include <new> |
| 6 | |
| 7 | class Apple |
| 8 | { |
| 9 | char mX{}; |
| 10 | int mY{}; |
| 11 | |
| 12 | public: |
| 13 | Apple(int x, int y) |
| 14 | : mX(x) |
| 15 | , mY{y} |
| 16 | { |
| 17 | printf("Apple\n"); |
| 18 | } |
| 19 | |
| 20 | ~Apple() { printf("~Apple\n"); } |
| 21 | }; |
| 22 | |
| 23 | int main() |
| 24 | { |
nothing calls this directly
no outgoing calls
no test coverage detected