Sign in
fuchsia
/
third_party
/
swig
/
00b47d4d1d37ee0250f2f5da5cb27513f7811697
/
.
/
Examples
/
test-suite
/
python
/
smart_pointer_multi_typedef_runme.py
blob: 3014febcd13557f4a4fdcc09ce1c81c124a67722 [
file
] [
log
] [
blame
]
from
smart_pointer_multi_typedef
import
*
f
=
Foo
()
b
=
Bar
(
f
)
s
=
Spam
(
b
)
g
=
Grok
(
b
)
s
.
x
=
3
if
s
.
getx
()
!=
3
:
raise
RuntimeError
g
.
x
=
4
if
g
.
getx
()
!=
4
:
raise
RuntimeError