Sign in
fuchsia
/
third_party
/
swig
/
ae709933805236a8bbf2cba82ed984d92c82ee9c
/
.
/
Examples
/
test-suite
/
python
/
smart_pointer_multi_runme.py
blob: 26c22d4493d216604111ac3e7e55bbac5eb2cb17 [
file
] [
log
] [
blame
]
from
smart_pointer_multi
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