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

/gem5/ext/pybind11/tests/
H A Dtest_virtual_functions.cpp30 virtual void pure_virtual() = 0;
68 void pure_virtual() override {
72 pure_virtual, /* Name of function */
195 .def("pure_virtual", &ExampleVirt::pure_virtual);
215 m.def("runExampleVirtVirtual", [](ExampleVirt *ex) { ex->pure_virtual(); });
H A Dtest_virtual_functions.py24 def pure_virtual(self): member in class:test_override.ExtendedExampleVirt
25 print('ExtendedExampleVirt::pure_virtual(): %s' % self.data)
43 assert msg(excinfo.value) == 'Tried to call pure virtual function "ExampleVirt::pure_virtual"'
57 assert capture == "ExtendedExampleVirt::pure_virtual(): Hello world"

Completed in 5 milliseconds