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