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