summaryrefslogtreecommitdiff
path: root/tests/source/test3.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/test3.scade
parentf7868083de2f351b5195149870e6e77398da44f9 (diff)
downloadscade-analyzer-dedc98b0c14262c53e8573d7fe1dcaa370e43fb5.tar.gz
scade-analyzer-dedc98b0c14262c53e8573d7fe1dcaa370e43fb5.zip
Move a lot of things.
Diffstat (limited to 'tests/source/test3.scade')
-rw-r--r--tests/source/test3.scade7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/source/test3.scade b/tests/source/test3.scade
new file mode 100644
index 0000000..541b9f5
--- /dev/null
+++ b/tests/source/test3.scade
@@ -0,0 +1,7 @@
+function test(i: int) returns(probe a, b, c: int; exit: bool)
+let
+ exit = i >= 5;
+ a = if i < 0 then -i else i;
+ b = 0;
+ c = 0;
+tel