summaryrefslogtreecommitdiff
path: root/tests/source/testc.scade
diff options
context:
space:
mode:
Diffstat (limited to 'tests/source/testc.scade')
-rw-r--r--tests/source/testc.scade11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/source/testc.scade b/tests/source/testc.scade
new file mode 100644
index 0000000..40a04d3
--- /dev/null
+++ b/tests/source/testc.scade
@@ -0,0 +1,11 @@
+const x : int = 12;
+const y : int = z + 3;
+const z : int = x * 2;
+
+function test(i: int) returns (a, b, c: int; exit: bool)
+let
+ exit = i >= 0;
+ a = x;
+ b = y;
+ c = z;
+tel