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

/gem5/ext/pybind11/tests/
H A Dtest_multiple_inheritance.cpp135 struct I801C : I801B1, I801B2 {}; struct in inherits:I801B1,I801B2
136 struct I801D : I801C {}; // Indirect MI
143 py::class_<I801C, I801B1, I801B2, std::shared_ptr<I801C>>(m, "I801C").def(py::init<>());
144 py::class_<I801D, I801C, std::shared_ptr<I801D>>(m, "I801D").def(py::init<>());
149 m.def("i801b1_c", [](I801C *c) { return static_cast<I801B1 *>(c); });
150 m.def("i801b2_c", [](I801C *c) { return static_cast<I801B2 *>(c); });
157 m.def("i801c_b1", []() -> I801B1 * { return new I801C(); });
158 m.def("i801c_b2", []() -> I801B2 * { return new I801C(); });
[all...]
H A Dtest_multiple_inheritance.py270 c = m.I801C()
296 assert type(c1) is m.I801C
308 assert type(c2) is m.I801C
328 assert type(e1) is m.I801C

Completed in 6 milliseconds