about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-11-15 23:51:40 -0800
committerKartik Agaram <vc@akkartik.com>2020-11-16 00:00:32 -0800
commit8d2dece2918675f4c7159b36a5cf154ff1ccd7f5 (patch)
treecc0c5ed66bca089d76ce9a7a43b7fc145f8dfecc /apps
parent264aba4d929da6899af0672fcda7cc7a877099ec (diff)
downloadmu-8d2dece2918675f4c7159b36a5cf154ff1ccd7f5.tar.gz
7250
Diffstat (limited to 'apps')
-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
 }