summaryrefslogtreecommitdiffstats
path: root/tests/nonRegression/bug2414.sci
diff options
context:
space:
mode:
authorPierre Marechal <pierre.marechal@scilab.org>2007-06-05 07:57:11 +0000
committerPierre Marechal <pierre.marechal@scilab.org>2007-06-05 07:57:11 +0000
commit7e7fe628ef555c97b46ae76b905d5aa1128e7f2e (patch)
treede659019388b7f0d2107171d1b56e9cc9b281a22 /tests/nonRegression/bug2414.sci
parent92f483cff0970ab939fae8e10a840be0f8635ea8 (diff)
downloadscilab-7e7fe628ef555c97b46ae76b905d5aa1128e7f2e.zip
scilab-7e7fe628ef555c97b46ae76b905d5aa1128e7f2e.tar.gz
Non regression tests for bugs 2098, 2399, 2407, 2410 and 2414
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