| 97 | NoConstructorNew(const NoConstructorNew &) = default; |
| 98 | NoConstructorNew(NoConstructorNew &&) = default; |
| 99 | static NoConstructorNew *new_instance() { |
| 100 | auto *ptr = new NoConstructorNew(); |
| 101 | print_created(ptr, "via new_instance"); |
| 102 | return ptr; |
| 103 | } |
| 104 | ~NoConstructorNew() { print_destroyed(this); } |
| 105 | }; |
| 106 |
nothing calls this directly
no test coverage detected