summaryrefslogtreecommitdiffstats
path: root/tests/nonRegression/bug2420.sci
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nonRegression/bug2420.sci')
-rw-r--r--tests/nonRegression/bug2420.sci12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/nonRegression/bug2420.sci b/tests/nonRegression/bug2420.sci
new file mode 100644
index 0000000..eaf6604
--- /dev/null
+++ b/tests/nonRegression/bug2420.sci
@@ -0,0 +1,12 @@
1// Scilab Project - Serge Steer
2// Copyright INRIA 2007
3// Date : June 2007
4
5mode(-1) ;
6clear ;
7BugNumber=2420;
8function a=strudel(),a='+\@+';endfunction
9t=fun2string(strudel)
10T=stripblanks(t(2))=="a = ''+\@+'';"
11affich_result(T,BugNumber) ;
12clear ;