Sign in
fuchsia
/
third_party
/
swig
/
decfe5dd8181d962e8b05ea531650d8589dc2b30
/
.
/
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"