mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 13:15:12 +00:00
Update tests/test_make_alias.cpp
Co-authored-by: Sebastian Koslowski <sebastian.koslowski@gmail.com>
This commit is contained in:
parent
549f3b7e54
commit
eb2ecf1033
@ -17,6 +17,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
TEST_SUBMODULE(_make_alias, m) {
|
TEST_SUBMODULE(_make_alias, m) {
|
||||||
ma = m.make_alias(pybind11::module::strip_leading_underscore_from_name);
|
ma = m.make_alias(pybind11::module::strip_leading_underscore_from_name{});
|
||||||
ma.def("foo", []() -> {});
|
ma.def("foo", []() -> {});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user