summaryrefslogtreecommitdiff
path: root/tests/source/test5.scade
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ansys.com>2014-06-13 14:17:22 +0200
committerAlex Auvolat <alex.auvolat@ansys.com>2014-06-13 14:17:22 +0200
commitdedc98b0c14262c53e8573d7fe1dcaa370e43fb5 (patch)
treeac02f7271b054247984caa8aac13451ba98dc15b /tests/source/test5.scade
parentf7868083de2f351b5195149870e6e77398da44f9 (diff)
downloadscade-analyzer-dedc98b0c14262c53e8573d7fe1dcaa370e43fb5.tar.gz
scade-analyzer-dedc98b0c14262c53e8573d7fe1dcaa370e43fb5.zip
Move a lot of things.
Diffstat (limited to 'tests/source/test5.scade')
-rw-r--r--tests/source/test5.scade8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/source/test5.scade b/tests/source/test5.scade
new file mode 100644
index 0000000..1de390d
--- /dev/null
+++ b/tests/source/test5.scade
@@ -0,0 +1,8 @@
+node test(i: int) returns(probe a, b, c: int; exit: bool)
+let
+ b = 0 -> pre a;
+ a = if b > 4 then 0 else b + 1;
+ c = 0;
+ exit = i >= 10;
+tel
+