Sign in
gem5
/
public
/
gem5
/
f5e84a5fb989cc6dff0ec063578447a32dad6d5c
/
.
/
ext
/
pybind11
/
tests
/
test_union.py
blob: e1866e701dec2085f9b38b862fc197b008ea9096 [
file
] [
log
] [
blame
]
from
pybind11_tests
import
union_
as
m
def
test_union
():
instance
=
m
.
TestUnion
()
instance
.
as_uint
=
10
assert
instance
.
as_int
==
10