Sign in
android
/
platform
/
external
/
swig
/
d0f0f90be16c2ac553b5fa08512045273135147a
/
.
/
Examples
/
test-suite
/
octave
/
smart_pointer_multi_runme.m
blob: ea15d04b960f7f5716c43b18517686d8624b2c77 [
file
] [
log
] [
blame
]
smart_pointer_multi
f
=
Foo
();
b
=
Bar
(
f
);
s
=
Spam
(
b
);
g
=
Grok
(
b
);
s
.
x
=
3
;
if
(
s
.
getx
()
!=
3
)
error
(
"failed"
);
endif
g
.
x
=
4
;
if
(
g
.
getx
()
!=
4
)
error
(
"failed"
);
endif