summaryrefslogtreecommitdiff
path: root/test/import-type.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2013-12-16 16:48:38 -0500
committerOri Bernstein <ori@eigenstate.org>2013-12-16 16:48:38 -0500
commit28a86b79b0ab5a89b292728882bd01bcfc12bcdf (patch)
tree0f0109e5d1d57918f4d679a2062a19965605916a /test/import-type.myr
parentd04544b4bbe5d5e101af128cfeebc194d65fab01 (diff)
downloadmc-28a86b79b0ab5a89b292728882bd01bcfc12bcdf.tar.gz
Convert main() to effectively return void.
Now, if we exit thorugh the end of main, we will ignore the return value, and call exit(0) from the start stub. If you want to exit with a different return value, you need to call std.exit(val)
Diffstat (limited to 'test/import-type.myr')
-rw-r--r--test/import-type.myr2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/import-type.myr b/test/import-type.myr
index ab13d3b..893d950 100644
--- a/test/import-type.myr
+++ b/test/import-type.myr
@@ -4,6 +4,4 @@ const main = {
var x : std.size
var y : std.off
var z : std.statbuf
-
- -> 0
}