Sign in
fuchsia
/
third_party
/
swig
/
1915740af8c26720f366162c768c223bddb15c7c
/
.
/
Examples
/
test-suite
/
octave
/
smart_pointer_multi_runme.m
blob: 71ef9109a62fe6b6373cb3f7db9b8d2bc4a9d7fb [
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
endif
g
.
x
=
4
;
if
(
g
.
getx
()
!=
4
)
error
endif