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