summaryrefslogtreecommitdiffstats
path: root/scilab/modules/ast/tests/nonreg_tests/bug_14808.tst
blob: 636f81f96119362c3d855a6fc83b85cddea77f81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2016 - Scilab Enterprises - Cedric Delamarre
//
//  This file is distributed under the same license as the Scilab package.
// =============================================================================
// <-- CLI SHELL MODE -->
//
// <-- Non-regression test for bug 14808 -->
//
// <-- Bugzilla URL -->
// http://bugzilla.scilab.org/14808
//
// <-- Short Description -->
// E=[ 'A' 'B' 'C' 'D' 'E']  ,  E(0:0) Crash Scilab Console

refMsg = msprintf(_("Invalid index.\n"));
assert_checkerror("E=[ ""A"" ""B"" ""C"" ""D"" ""E""];E(0:0)", refMsg);