1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2017 - ESI - Delamarre Cedric
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
7 // <-- CLI SHELL MODE -->
8 // <-- NO CHECK REF -->
10 // <-- Non-regression test for bug 15301 -->
12 // <-- Bugzilla URL -->
13 // http://bugzilla.scilab.org/15301
15 // <-- Short Description -->
16 // Sequence constructor ':' failed when a bound was an outputless funtion call
18 errmsg = sprintf(_("%ls: Wrong type for argument %d: Real scalar expected.\n"), "'':''",3);
19 assert_checkerror("1:disp(""ok"")", errmsg);