aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/negative_integer_literal_overflow.elna
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-08-13 22:55:06 +0200
committerEugen Wissner <belka@caraus.de>2026-08-13 22:55:06 +0200
commitbf7416a3ef9f0b787dcaebf816f3f3e6e385ff42 (patch)
tree26359c705133dbd8e98f06483008a720d0dae9d7 /testsuite/fail_compilation/negative_integer_literal_overflow.elna
parentae29de96c94e5c582f4424804464cdd29bf2a013 (diff)
downloadelna-bf7416a3ef9f0b787dcaebf816f3f3e6e385ff42.tar.gz
Implement fixed-size integers
Diffstat (limited to 'testsuite/fail_compilation/negative_integer_literal_overflow.elna')
-rw-r--r--testsuite/fail_compilation/negative_integer_literal_overflow.elna4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/fail_compilation/negative_integer_literal_overflow.elna b/testsuite/fail_compilation/negative_integer_literal_overflow.elna
new file mode 100644
index 0000000..7db4888
--- /dev/null
+++ b/testsuite/fail_compilation/negative_integer_literal_overflow.elna
@@ -0,0 +1,4 @@
+var
+ a: Int8 := -200i8 (* @Error Integer literal overflows *)
+
+end.