1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2015 - Scilab Enterprises - Vincent COUVERT
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 // <-- CLI SHELL MODE -->
10 // <-- Non-regression test for bug 9669 -->
12 // <-- Bugzilla URL -->
13 // http://bugzilla.scilab.org/9669
15 // <-- Short Description -->
16 // Referencing a struct from itself will segfault.
21 assert_checkequal(st.b.a, 1);
28 assert_checkequal(st.b, stsave);