Sign in
gem5
/
public
/
gem5
/
5b07a0787b0e62c0efe9a9d60cfd47fb47dbc188
/
.
/
ext
/
pybind11
/
tests
/
test_union.py
blob: 2a2c12fb4836a0f2194e06af7781216d78ed0ba2 [
file
] [
log
] [
blame
]
# -*- coding: utf-8 -*-
from
pybind11_tests
import
union_
as
m
def
test_union
():
instance
=
m
.
TestUnion
()
instance
.
as_uint
=
10
assert
instance
.
as_int
==
10