| 537 | PyPrintDestructor(const PyPrintDestructor &) = default; |
| 538 | ~PyPrintDestructor() { py::print("Print from destructor"); } |
| 539 | void throw_something() { throw std::runtime_error("error"); } |
| 540 | }; |
| 541 | py::class_<PyPrintDestructor>(m, "PyPrintDestructor") |
| 542 | .def(py::init<>()) |
no outgoing calls
no test coverage detected