diff options
author | andrewc <andrew_chambers@trimble.com> | 2016-01-12 14:26:06 +1300 |
---|---|---|
committer | andrewc <andrew_chambers@trimble.com> | 2016-01-12 14:26:52 +1300 |
commit | 3fe8f058c4ae3f84ef931b61ff667ef93dc741ab (patch) | |
tree | ba156baa0828e9b268840b950908b40b37c77d57 /test/voideffect.myr | |
parent | 4c1c6f77962993b62a082bfd2d91bde671cdc329 (diff) | |
download | mc-3fe8f058c4ae3f84ef931b61ff667ef93dc741ab.tar.gz |
Fix #36 - Emit Oret arg when return type is void
Diffstat (limited to 'test/voideffect.myr')
-rw-r--r-- | test/voideffect.myr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/voideffect.myr b/test/voideffect.myr new file mode 100644 index 0000000..c570b02 --- /dev/null +++ b/test/voideffect.myr @@ -0,0 +1,13 @@ +use std + +const bar = { + std.put("pass") +} + +const foo = { + -> bar() +} + +const main = { + foo() +} |