diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2014-02-01 19:49:33 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2014-02-01 19:49:33 +0000 |
commit | 404ae0f284a3b2d41fcdb53826550e4dfec5c65c (patch) | |
tree | cc446af26234e4465b8cc168b720ec44816ff5ab /test/div.lm | |
download | colm-tarball-master.tar.gz |
colm-0.12.0HEADcolm-0.12.0master
Diffstat (limited to 'test/div.lm')
-rw-r--r-- | test/div.lm | 42 |
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 |