summaryrefslogtreecommitdiffstats
path: root/tests/nonRegression/bug2429.sci
blob: e3799b0ab4daf15e7e7648d7fd8bad5f959ce0f7 (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 for bug 2429 -->
//
// <-- Bugzilla URL -->
// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2429
//
// <-- Short Description -->
//    Implicit vector in for loop are allocated

// Copyright INRIA
// Scilab Project - Serge Steer
// Copyright INRIA 2007
// Date : June 2007

S=stacksize();
function test(),for k=1:2d5,end,endfunction

stacksize(1d5)

ierr=execstr('test()','errcatch')
stacksize(S(1))
affich_result(ierr==0,2429) ;