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/exit3.lm | |
download | colm-tarball-404ae0f284a3b2d41fcdb53826550e4dfec5c65c.tar.gz |
colm-0.12.0HEADcolm-0.12.0master
Diffstat (limited to 'test/exit3.lm')
-rw-r--r-- | test/exit3.lm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/exit3.lm b/test/exit3.lm new file mode 100644 index 0000000..4cf4686 --- /dev/null +++ b/test/exit3.lm @@ -0,0 +1,24 @@ +##### LM ##### + +int f3() +{ + I: int = 1 + print( "hello\n" ) +} + +int f2() +{ + I: int = 1 + f3() +} + +int f1() +{ + I: int = 1 + f2() +} + +I: int = 1 + +exit( 0 ) +##### EXP ##### |