Sign in
fuchsia
/
third_party
/
swig
/
3f78ea64c041d0f55966b896745b9fc6c3704b71
/
.
/
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