1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2016 - Scilab Enterprises - Cedric Delamarre
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
7 // <-- Non-regression test for bug 14437 -->
9 // <-- Bugzilla URL -->
10 // http://bugzilla.scilab.org/show_bug.cgi?id=14437
12 // <-- Short Description -->
13 // Problem with the affectation cmde "=" applied to a "list of struct"
15 lst(1)=struct("f",[1,2]);
18 assert_checkequal(lst(1).f, [1,2]);
19 assert_checkequal(lst(2).f, [1,3]);