summaryrefslogtreecommitdiff
path: root/2.3-1/tests/unit_tests/test081_twoFunctions/scilabcode/fun2.sci
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/tests/unit_tests/test081_twoFunctions/scilabcode/fun2.sci')
-rw-r--r--2.3-1/tests/unit_tests/test081_twoFunctions/scilabcode/fun2.sci14
1 files changed, 14 insertions, 0 deletions
diff --git a/2.3-1/tests/unit_tests/test081_twoFunctions/scilabcode/fun2.sci b/2.3-1/tests/unit_tests/test081_twoFunctions/scilabcode/fun2.sci
new file mode 100644
index 00000000..56a2f162
--- /dev/null
+++ b/2.3-1/tests/unit_tests/test081_twoFunctions/scilabcode/fun2.sci
@@ -0,0 +1,14 @@
+//SCI2C: NIN= 1
+//SCI2C: NOUT= 1
+//SCI2C: OUT(1).TP= IN(1).TP
+//SCI2C: OUT(1).SZ(1)= '1'
+//SCI2C: OUT(1).SZ(2)= '1'
+
+//SCI2C: DEFAULT_PRECISION= DOUBLE
+function out = fun2(in1)
+a = 999;
+disp("a");
+disp(a);
+b = fun1(1);
+out = 99;
+endfunction