Sign in
fuchsia
/
third_party
/
swig
/
refs/heads/upstream/gsoc2008-jezabek
/
.
/
Examples
/
test-suite
/
python
/
smart_pointer_multi_runme.py
blob: c17053055a81cc2d7db05bafe4caafd2e53c2a82 [
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