Searched refs:purr (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_tagbased_polymorphic.py18 assert [cat.purr() for cat in zoo[3:]] == ["mrowr", "mrrrRRRRRR"]
H A Dtest_tagbased_polymorphic.cpp55 std::string purr() const { return "mrowr"; } function in struct:Animal::Cat
61 std::string purr() const { return "mrrrRRRRRR"; } function in struct:Animal::Panther
131 .def("purr", &Cat::purr);
134 .def("purr", &Panther::purr);

Completed in 4 milliseconds