1
// =============================================================================
2
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3
// Copyright (C) 2009 - Digiteo - Jean-Baptiste Silvy
5
// This file is distributed under the same license as the Scilab package.
6
// =============================================================================
8
// <-- TEST WITH GRAPHIC -->
10
// <-- Non-regression test for bug 4236 -->
12
// <-- Bugzilla URL -->
13
// http://bugzilla.scilab.org/show_bug.cgi?id=4236
15
// <-- Short Description -->
16
// move called with an already deleted handle crashes Scilab.
21
delete(point); // the handle is no longer valid
23
err = execstr("move(point, [1,1])","errcatch");
24
// should not crash Scilab but provide an error.
25
if (err == 0) then pause; end