Sign in
llvm
/
third_party
/
swig
/
refs/tags/v4.1.1
/
.
/
Examples
/
test-suite
/
python
/
typedef_scope_runme.py
blob: 0294c4a071d040a405fd68a7e77afcacf5c7dfa8 [
file
] [
log
] [
blame
]
import
typedef_scope
b
=
typedef_scope
.
Bar
()
x
=
b
.
test1
(
42
,
"hello"
)
if
x
!=
42
:
raise
RuntimeError
(
"Failed!!"
)
x
=
b
.
test2
(
42
,
"hello"
)
if
x
!=
"hello"
:
raise
RuntimeError
(
"Failed!!"
)