summaryrefslogtreecommitdiff
path: root/tests/source/test4.scade
diff options
context:
space:
mode:
Diffstat (limited to 'tests/source/test4.scade')
-rw-r--r--tests/source/test4.scade7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/source/test4.scade b/tests/source/test4.scade
new file mode 100644
index 0000000..c66a56f
--- /dev/null
+++ b/tests/source/test4.scade
@@ -0,0 +1,7 @@
+node test(i: int) returns(probe a, b, c: int; exit: bool)
+let
+ exit = i >= 5;
+ a = 0 -> (if pre a > 10 then 0 else pre a + 1);
+ b = 0 -> pre i;
+ c = 0;
+tel