Sign in
fuchsia
/
third_party
/
swig
/
5f38f9cc78b44cbc3266011490613c8134cbd3a3
/
.
/
Examples
/
test-suite
/
octave
/
overload_subtype_runme.m
blob: d1b20913992b476568e7286ec07eecdb37d740f1 [
file
] [
log
] [
blame
]
# do not dump Octave core
if
exist
(
"crash_dumps_octave_core"
,
"builtin"
)
crash_dumps_octave_core
(
0
);
endif
overload_subtype
f
=
Foo
();
b
=
Bar
();
if
(
spam
(
f
)
!=
1
)
error
(
"foo"
)
endif
if
(
spam
(
b
)
!=
2
)
error
(
"bar"
)
endif