Sign in
gem5
/
public
/
gem5
/
656d98adbb2475c76e47f0a7230491d807dc4181
/
.
/
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