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