Sign in
fuchsia
/
third_party
/
swig
/
728b8955bd50d79168e121f834295ef30fcdc89e
/
.
/
Examples
/
test-suite
/
octave
/
octave_cell_deref_runme.m
blob: 0a45999d38443b38bb182fddd9224f1091959468 [
file
] [
log
] [
blame
]
# do not dump Octave core
if
exist
(
"crash_dumps_octave_core"
,
"builtin"
)
crash_dumps_octave_core
(
0
);
endif
octave_cell_deref
;
assert
(
funk
(
"hello"
));
assert
(
funk
({
"hello"
}));
c
=
func2
();
assert
(
strcmp
(
c
{
1
},
"hello"
));
assert
(
c
{
2
}
==
4
);