tests/functional2/lang: add tests for builtins.fromTOML overflow

This behaviour is bad and will be fixed, but adding a test for the
present state documents the change.

Change-Id: I6a6a6964b88dc929269ee136804857b3852dfafe
This commit is contained in:
Emily
2025-08-16 13:39:20 +01:00
parent 2898b9e7dc
commit 7ee442079d
4 changed files with 4 additions and 0 deletions
@@ -0,0 +1 @@
{ attr = 9223372036854775807; }
@@ -0,0 +1 @@
{ attr = -9223372036854775808; }
@@ -0,0 +1 @@
builtins.fromTOML ''attr = 9223372036854775808''
@@ -0,0 +1 @@
builtins.fromTOML ''attr = -9223372036854775809''