blob: 305cd41137a0240f1ea5cfa0bfe171ea7b42ff8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# do not dump Octave core
if exist("crash_dumps_octave_core", "builtin")
crash_dumps_octave_core(0);
endif
typename
f = typename.Foo();
b = typename.Bar();
x = typename.twoFoo(f);
if (x == floor(x))
error("Wrong return type!")
endif
y = typename.twoBar(b);
if (y != floor(y))
error("Wrong return type!")
endif
|