aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/float_remainder.elna
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-08-21 00:05:03 +0200
committerEugen Wissner <belka@caraus.de>2026-08-21 00:05:03 +0200
commit39269cc68a32f6e1a7524b00da36a1fe4cc7fb8b (patch)
tree9558cd6107d60e22127faeddbdeac5031ee2fdbe /testsuite/fail_compilation/float_remainder.elna
parent4f77ad5d019618893c59a0f8d5bfa6b98e50a3be (diff)
downloadelna-39269cc68a32f6e1a7524b00da36a1fe4cc7fb8b.tar.gz
Implement Single and Double floats
Diffstat (limited to 'testsuite/fail_compilation/float_remainder.elna')
-rw-r--r--testsuite/fail_compilation/float_remainder.elna8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/fail_compilation/float_remainder.elna b/testsuite/fail_compilation/float_remainder.elna
new file mode 100644
index 0000000..ec6c9e2
--- /dev/null
+++ b/testsuite/fail_compilation/float_remainder.elna
@@ -0,0 +1,8 @@
+proc f()
+var
+ x: Double
+begin
+ x := 5.0 % 2.0 (* @Error Invalid operands of type 'Double' and 'Double' for operator % *)
+return
+
+end.