Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/test-suite/octave/input_runme.m
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06: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