| 38 | } |
| 39 | |
| 40 | int callback(one_arg_type f) { |
| 41 | return f(magic_value) + 1; |
| 42 | } |
| 43 | } // namespace sol2_tests_config_function_pointers_retrieval |
| 44 | |
| 45 | TEST_CASE("config/function_pointers/get", "retrieving a function pointer type can round trip, even if we lose safety in other contexts") { |
nothing calls this directly
no outgoing calls
no test coverage detected