about summary refs log tree commit diff stats
path: root/apps/ex2.mu
diff options
context:
space:
mode:
Diffstat (limited to 'apps/ex2.mu')
-rw-r--r--apps/ex2.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ex2.mu b/apps/ex2.mu
index 4ecfde9f..16f04d29 100644
--- a/apps/ex2.mu
+++ b/apps/ex2.mu
@@ -13,7 +13,7 @@ fn main -> _/ebx: int {
 }
 
 fn do-add a: int, b: int -> _/eax: int {
-  var result/ebx: int <- copy a
+  var result/ecx: int <- copy a
   result <- add b
   return result
 }