summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/cpp/33203-Issue_2574.cpp
blob: bd88347dadd540b4b0dccad3966fe1ec5da07ed1 (plain)
1
2
3
4
5
6
7
8
9
10
11
#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;
}