summaryrefslogtreecommitdiff
path: root/test/div.lm
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2014-02-01 19:49:33 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2014-02-01 19:49:33 +0000
commit404ae0f284a3b2d41fcdb53826550e4dfec5c65c (patch)
treecc446af26234e4465b8cc168b720ec44816ff5ab /test/div.lm
downloadcolm-tarball-404ae0f284a3b2d41fcdb53826550e4dfec5c65c.tar.gz
Diffstat (limited to 'test/div.lm')
-rw-r--r--test/div.lm42
1 files changed, 42 insertions, 0 deletions
diff --git a/test/div.lm b/test/div.lm
new file mode 100644
index 0000000..84dd807
--- /dev/null
+++ b/test/div.lm
@@ -0,0 +1,42 @@
+##### LM #####
+
+i: int = 0
+while ( i < 34 ) {
+ print( (i / 4) '\n' )
+ i = i + 1
+}
+##### EXP #####
+0
+0
+0
+0
+1
+1
+1
+1
+2
+2
+2
+2
+3
+3
+3
+3
+4
+4
+4
+4
+5
+5
+5
+5
+6
+6
+6
+6
+7
+7
+7
+7
+8
+8