summaryrefslogtreecommitdiffstats
path: root/test/test3.t
diff options
context:
space:
mode:
authorBenedikt Böhm <bb@xnull.de>2009-07-04 11:16:49 +0200
committerBenedikt Böhm <bb@xnull.de>2009-07-04 11:16:49 +0200
commitd4299c4b6f2f04f5eb8f36416f06c42e2586e7c0 (patch)
treed23c61d76e4765026757059e34e5f04ba79c4f86 /test/test3.t
parent690644bb293d7de12abddcaaca75f8f6c6dad24e (diff)
downloadswppy-d4299c4b6f2f04f5eb8f36416f06c42e2586e7c0.tar.gz
swppy-d4299c4b6f2f04f5eb8f36416f06c42e2586e7c0.tar.xz
swppy-d4299c4b6f2f04f5eb8f36416f06c42e2586e7c0.zip
add test cases
Diffstat (limited to 'test/test3.t')
-rw-r--r--test/test3.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test3.t b/test/test3.t
new file mode 100644
index 0000000..682f707
--- /dev/null
+++ b/test/test3.t
@@ -0,0 +1,10 @@
+fun main[]
+ a = 3
+ b = 5
+ if (a > b)
+ c = 1
+ else
+ c = 0
+ end
+ @c
+end