diff --git a/tests/test_stl.cpp b/tests/test_stl.cpp index ee75427c37..d5ab5ffd98 100644 --- a/tests/test_stl.cpp +++ b/tests/test_stl.cpp @@ -204,6 +204,7 @@ TEST_SUBMODULE(stl, m) { m.def("load_map", [](const std::map &map) { return map.at("key") == "value" && map.at("key2") == "value2"; }); + m.def("pass_map_string_double", [](const std::map &) {}); // test_set m.def("cast_set", []() { return std::set{"key1", "key2"}; });