summaryrefslogtreecommitdiffstats
path: root/tests/nonRegression/bug1198.sci
blob: 7b3b3e9cd77fe6f114e373c3160600c57d0439ab (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
// <-- Non-regression test for bug 1198 -->
//
// <-- Bugzilla URL -->
// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1198
//
// <-- Short Description -->
//    For the latest version of Scilab scilab-3.0-u-20050128 on a 
//    Windows 2000 platform.
//
//    The program crashes instead of reporting a sytax error.

// Pierre MARECHAL - Scilab Project
// Copyright INRIA
// 1er juin 2005

G = syslin('c', [1 0 ; 0 1], [ 1; 1], [1 1]);
minss(G)("A")
B=lasterror()

if B=='invalid index' then
	affich_result(%T,1198);
else
	affich_result(%F,1198);
end