aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/eval-fail-overflowing-mul.err.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/eval-fail-overflowing-mul.err.exp')
-rw-r--r--test/testdata/eval-fail-overflowing-mul.err.exp16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/testdata/eval-fail-overflowing-mul.err.exp b/test/testdata/eval-fail-overflowing-mul.err.exp
new file mode 100644
index 0000000..f42b39d
--- /dev/null
+++ b/test/testdata/eval-fail-overflowing-mul.err.exp
@@ -0,0 +1,16 @@
1error:
2 … while calling the 'mul' builtin
3 at /pwd/lang/eval-fail-overflowing-mul.nix:3:10:
4 2| a = 4294967297;
5 3| in a * a * a
6 | ^
7 4|
8
9 … while calling the 'mul' builtin
10 at /pwd/lang/eval-fail-overflowing-mul.nix:3:6:
11 2| a = 4294967297;
12 3| in a * a * a
13 | ^
14 4|
15
16 error: integer overflow in multiplying 4294967297 * 4294967297