Files
cpp-thirdparty/winx64/bin/swigwin-4.0.0/Examples/test-suite/octave/input_runme.m
2019-08-04 21:38:19 -05:00

28 lines
309 B
Mathematica

# do not dump Octave core
if exist("crash_dumps_octave_core", "builtin")
crash_dumps_octave_core(0);
endif
input
f = Foo();
if (f.foo(2) != 4)
error
endif
try
a=f.foo();
error
catch
end_try_catch
if (!strcmp(sfoo("Hello"),"Hello world"))
error
endif
try
a=sfoo();
error
catch
end_try_catch