diff options
Diffstat (limited to 'tests/features/test_asm.zc')
| -rw-r--r-- | tests/features/test_asm.zc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/features/test_asm.zc b/tests/features/test_asm.zc index 01f35d5..02d268d 100644 --- a/tests/features/test_asm.zc +++ b/tests/features/test_asm.zc @@ -32,7 +32,7 @@ test "test_asm" { } fn add_five(x: int) -> int { - var result: int; + let result: int; asm { "mov {x}, {result}" "add $5, {result}" @@ -44,7 +44,7 @@ fn add_five(x: int) -> int { test "test_asm_params" { println "Testing assembly parameters..."; - var val = add_five(10); + let val = add_five(10); if (val == 15) { println "-> Success! add_five(10) = 15"; } else { |
