blob: 477ffaac17b2d838c9f1d67108e536a4c2319342 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# 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("failed");
endif
try
a=f.foo();
error("failed");
catch
end_try_catch
if (!strcmp(sfoo("Hello"),"Hello world"))
error("failed");
endif
try
a=sfoo();
error("failed");
catch
end_try_catch
|