Sign in
fuchsia
/
third_party
/
swig
/
2824b0cbb66e715490e1ef13250bd675d87b32d9
/
.
/
trunk
/
Examples
/
test-suite
/
python
/
overload_subtype_runme.py
blob: 6bf77dc59425cef6595bce72f9df74d6fdaf2682 [
file
] [
log
] [
blame
]
from
overload_subtype
import
*
f
=
Foo
()
b
=
Bar
()
if
spam
(
f
)
!=
1
:
raise
RuntimeError
,
"foo"
if
spam
(
b
)
!=
2
:
raise
RuntimeError
,
"bar"