summaryrefslogtreecommitdiffstats
path: root/tests/nonRegression/bug2414.sci
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nonRegression/bug2414.sci')
-rw-r--r--tests/nonRegression/bug2414.sci18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/nonRegression/bug2414.sci b/tests/nonRegression/bug2414.sci
new file mode 100644
index 0000000..92b8224
--- /dev/null
+++ b/tests/nonRegression/bug2414.sci
@@ -0,0 +1,18 @@
1// Non-regression test file for bug 2414
2// Author : Scilab Project - Pierre MARECHAL
3// Copyright INRIA
4// Date : 05 mai 2007
5
6mode(-1);
7clear;
8
9a=[];
10a = string(a);
11
12if( (type(a) == 1) & (typeof(a) == "constant") & and(size(a) == [0 0]) & (a($,1)==[]) ) then
13 affich_result(%T,2414);
14else
15 affich_result(%F,2414);
16end
17
18clear