summaryrefslogtreecommitdiffstats
path: root/tests/nonRegression/bug2266.sci
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nonRegression/bug2266.sci')
-rw-r--r--tests/nonRegression/bug2266.sci16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/nonRegression/bug2266.sci b/tests/nonRegression/bug2266.sci
new file mode 100644
index 0000000..e606d69
--- /dev/null
+++ b/tests/nonRegression/bug2266.sci
@@ -0,0 +1,16 @@
1// Non-regression test file for bug 2266
2// Serge Steer - Scilab Project
3// Copyright INRIA
4// 2 janv 2007
5
6mode(-1);
7clear;
8
9
10free=getmemory() ;
11for k=1:10000
12 foo=msscanf('1.234 44 55 66 77 88 88 ', '%f %f %f %f %f %f %f ');
13end
14leak=free-getmemory()
15T=leak<=4;
16affich_result(T,2266);