about summary refs log tree commit diff stats
path: root/apps/ex1.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/ex1.mu
parentcc7dcdc3b8bb6c133ecdbc97d1c134d30f1500f5 (diff)
downloadmu-17623a628aee2429a5a8d8b65bd84235f6be0e3f.tar.gz
7154
Diffstat (limited to 'apps/ex1.mu')
-rw-r--r--apps/ex1.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/ex1.mu b/apps/ex1.mu
index f6d67001..41609fac 100644
--- a/apps/ex1.mu
+++ b/apps/ex1.mu
@@ -8,6 +8,6 @@
 #   $ echo $?
 #   42
 
-fn main -> result/ebx: int {
-  result <- copy 0x2a  # Mu requires hexadecimal
+fn main -> _/ebx: int {
+  return 0x2a  # Mu requires hexadecimal
 }