diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/Issue_2574.cpp')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/Issue_2574.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/Issue_2574.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/Issue_2574.cpp new file mode 100644 index 00000000..fc79cd0d --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/Issue_2574.cpp @@ -0,0 +1,13 @@ +#include <pybind11/pybind11.h> +namespace py = pybind11; +PYBIND11_MODULE(example, m) +{ + py::class_<Pet>(m, "Pet").def(py::init<const std::string&>()).def( + "setName_T", + &Pet::setName).def("getName", &Pet::getName); +} + +auto three()->int +{ + return 3; +} |