aboutsummaryrefslogtreecommitdiff
path: root/testsuite/compilable/float_literals.elna
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-07-17 10:18:58 +0200
committerEugen Wissner <belka@caraus.de>2026-07-17 10:18:58 +0200
commita0e1740227535adc3151c02eb102c4f96b4f9731 (patch)
tree0e29cd3719370eca8c74fb67480f3bfc1a207106 /testsuite/compilable/float_literals.elna
parentd0a666507a6f11b65170c257fd483613f462f3f2 (diff)
downloadelna-a0e1740227535adc3151c02eb102c4f96b4f9731.tar.gz
Implement type constness
Diffstat (limited to 'testsuite/compilable/float_literals.elna')
-rw-r--r--testsuite/compilable/float_literals.elna10
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/compilable/float_literals.elna b/testsuite/compilable/float_literals.elna
index ed23989..77af6b1 100644
--- a/testsuite/compilable/float_literals.elna
+++ b/testsuite/compilable/float_literals.elna
@@ -1,9 +1,9 @@
proc f()
-const
- x := 3.14
- y := 1e10
- z := 4.567e8
- t := 2.5E-3
+var
+ x: const Float := 3.14
+ y: const Float := 1e10
+ z: const Float := 4.567e8
+ t: const Float := 2.5E-3
return
end.