summaryrefslogtreecommitdiffstats
path: root/tests/nonRegression/bug1991.sci
blob: 09b92807d8cdfc0cf35b9a5ec243244c79766746 (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 1991 -->
//
// <-- Bugzilla URL -->
// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1991
//
// <-- Short Description -->
//    [a,b]=(3,int32(5))
//                      !--error 78 
//    convert: wrong number of lhs arguments

// Copyright INRIA
// Scilab Project - Serge Steer
// Copyright INRIA 2006
// Date : 15 mai 2006

[a,b]=(3,int32(5));
r=a==3&b==int32(5);
a=(3 + int32(5));
r=r&(a==int32(8));

[a,b,c]=(3,(2),sin(5));
r=r&a==3&b==2&c==sin(5);

affich_result(r,1991);