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

/gem5/ext/pybind11/tests/
H A Dtest_union.cpp13 union TestUnion { union
18 py::class_<TestUnion>(m, "TestUnion")
20 .def_readonly("as_int", &TestUnion::value_int)
21 .def_readwrite("as_uint", &TestUnion::value_uint);
H A Dtest_union.py5 instance = m.TestUnion()

Completed in 3 milliseconds