1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2009 - DIGITEO - Allan CORNET
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
7 // <-- CLI SHELL MODE -->
8 // <-- Non-regression test for bug 1412 -->
10 // <-- Bugzilla URL -->
11 // http://bugzilla.scilab.org/show_bug.cgi?id=1412
13 // Causes scilab to hang, using 95% of CPU.
14 // and display a incorrect error
16 ierr = execstr('A(:)=%z;','errcatch');
17 if ierr <> 999 then bugmes();quit;end