1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2015 - Scilab Enterprises - Cedric Delamarre
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
7 // <-- CLI SHELL MODE -->
9 // <-- Non-regression test for bug 14245 -->
11 // <-- Bugzilla URL -->
12 // http://bugzilla.scilab.org/14245
14 // <-- Short Description -->
15 // Problem in recursive extraction using list with struct
20 s(1)=struct("a",a,"b",b,"c",c);
22 assert_checkequal(s(1).b(2)(1:3), [1 ; 3 ; 2]);