about summary refs log tree commit diff stats
path: root/apps/factorial.mu
diff options
context:
space:
mode:
Diffstat (limited to 'apps/factorial.mu')
-rw-r--r--apps/factorial.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/factorial.mu b/apps/factorial.mu
index 5177daeb..a94be482 100644
--- a/apps/factorial.mu
+++ b/apps/factorial.mu
@@ -1,8 +1,8 @@
-fn main -> result/ebx: int {
+fn main -> exit-status/ebx: int {
 #?   run-tests
 #?   result <- copy 0
   var tmp/eax: int <- factorial 5
-  result <- copy tmp
+  exit-status <- copy tmp
 }
 
 fn factorial n: int -> result/eax: int {