about summary refs log tree commit diff stats
path: root/apps/hello.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-11-01 22:02:13 -0800
committerKartik Agaram <vc@akkartik.com>2020-11-01 22:02:13 -0800
commit17623a628aee2429a5a8d8b65bd84235f6be0e3f (patch)
tree373ac0b29678e96d24faf1cb8d8c853ca6b06279 /apps/hello.mu
parentcc7dcdc3b8bb6c133ecdbc97d1c134d30f1500f5 (diff)
downloadmu-17623a628aee2429a5a8d8b65bd84235f6be0e3f.tar.gz
7154
Diffstat (limited to 'apps/hello.mu')
-rw-r--r--apps/hello.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/hello.mu b/apps/hello.mu
index a305edf0..5a656b96 100644
--- a/apps/hello.mu
+++ b/apps/hello.mu
@@ -4,7 +4,7 @@
 #   $ ./translate_mu apps/hello.mu
 #   $ ./a.elf
 
-fn main -> exit-status/ebx: int {
+fn main -> _/ebx: int {
   print-string 0, "Hello world!\n"
-  exit-status <- copy 0
+  return 0
 }