summaryrefslogtreecommitdiffstats
path: root/tests/nonRegression/bug2098.sci
blob: e4c906da883c30a0b8710420f79f2618b26d3ec2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Non-regression test file for bug 2098
// Author : Scilab Project - Pierre MARECHAL
// Copyright INRIA
// Date : 05 mai 2007

mode(-1);
clear;

function test
	disp('test');
endfunction

ierr = execstr('showprofile(test)','errcatch');

if( ierr == 1000 ) then
	affich_result(%T,2098);
else
	affich_result(%F,2098);
end

clear