Sign in
fuchsia
/
third_party
/
swig
/
8245277ad3acd9308ce28c40508b999e9496b27e
/
.
/
Examples
/
test-suite
/
python
/
overload_subtype_runme.py
blob: 3f32a5583de65ef6e189d40a308e459aa03960b8 [
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"