diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/factorial.mu | 4 |
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 { |