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