diff options
| author | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-25 15:12:12 +0000 |
|---|---|---|
| committer | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-25 15:12:12 +0000 |
| commit | 7d1944ab9d2307f2736afe8520436872db1c7617 (patch) | |
| tree | 7380a4f148f9ce0b70ed9f02cfa5e8561c783a7a /tests/features/test_intel.zc | |
| parent | 8b720543f538862796fec0ff6b7ea12cb140bf0f (diff) | |
'let' it be
Diffstat (limited to 'tests/features/test_intel.zc')
| -rw-r--r-- | tests/features/test_intel.zc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/features/test_intel.zc b/tests/features/test_intel.zc index 8547501..3b88178 100644 --- a/tests/features/test_intel.zc +++ b/tests/features/test_intel.zc @@ -1,7 +1,7 @@ //> cflags: -masm=intel fn add_five_intel(x: int) -> int { - var result: int; + let result: int; asm { "mov {result}, {x}" "add {result}, 5" @@ -12,7 +12,7 @@ fn add_five_intel(x: int) -> int { } test "test_intel" { - var val = add_five_intel(10); + let val = add_five_intel(10); "Sum Intel: 10 + 5 = {val}"; match val { |
