summaryrefslogtreecommitdiff
path: root/tests/features/test_build_directives.zc
diff options
context:
space:
mode:
authorZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-25 15:12:12 +0000
committerZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-25 15:12:12 +0000
commit7d1944ab9d2307f2736afe8520436872db1c7617 (patch)
tree7380a4f148f9ce0b70ed9f02cfa5e8561c783a7a /tests/features/test_build_directives.zc
parent8b720543f538862796fec0ff6b7ea12cb140bf0f (diff)
'let' it be
Diffstat (limited to 'tests/features/test_build_directives.zc')
-rw-r--r--tests/features/test_build_directives.zc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/features/test_build_directives.zc b/tests/features/test_build_directives.zc
index d6e35b3..7edd317 100644
--- a/tests/features/test_build_directives.zc
+++ b/tests/features/test_build_directives.zc
@@ -6,8 +6,8 @@ extern fn sin(x: double) -> double;
test "test_build_directives" {
println "Running Build Directives Test...";
- var x = 3.14159 / 2.0; // PI/2
- var s = sin(x);
+ let x = 3.14159 / 2.0; // PI/2
+ let s = sin(x);
// sin(PI/2) should be 1.0
println "sin(PI/2) = {s}";