aboutsummaryrefslogtreecommitdiff
path: root/testsuite/compilable
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-07-14 18:08:44 +0200
committerEugen Wissner <belka@caraus.de>2026-07-14 18:08:44 +0200
commita32a61813ebaecf0c1e69fd1481bf09d8c8b1420 (patch)
treeecfb6140075e3c46b599755e220dbf560de2e31d /testsuite/compilable
parent51e2f98e33ae10fc3052335cc6847bc93d0784fa (diff)
downloadelna-a32a61813ebaecf0c1e69fd1481bf09d8c8b1420.tar.gz
Support more floating point literals
Diffstat (limited to 'testsuite/compilable')
-rw-r--r--testsuite/compilable/float_literals.elna9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/compilable/float_literals.elna b/testsuite/compilable/float_literals.elna
new file mode 100644
index 0000000..1ce914d
--- /dev/null
+++ b/testsuite/compilable/float_literals.elna
@@ -0,0 +1,9 @@
+proc f()
+const
+ x := 3.14
+ y := 1e10
+ z := 4.567e8
+ t := 2.5E-3
+end
+
+end.