| 86 | NoConstructor(const NoConstructor &) = default; |
| 87 | NoConstructor(NoConstructor &&) = default; |
| 88 | static NoConstructor *new_instance() { |
| 89 | auto *ptr = new NoConstructor(); |
| 90 | print_created(ptr, "via new_instance"); |
| 91 | return ptr; |
| 92 | } |
| 93 | ~NoConstructor() { print_destroyed(this); } |
| 94 | }; |
| 95 | struct NoConstructorNew { |
no test coverage detected