summary refs log tree commit diff stats
path: root/tests/accept/run/toverflw2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accept/run/toverflw2.nim')
-rwxr-xr-xtests/accept/run/toverflw2.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/accept/run/toverflw2.nim b/tests/accept/run/toverflw2.nim
index b54bda9fa..14a77ebad 100755
--- a/tests/accept/run/toverflw2.nim
+++ b/tests/accept/run/toverflw2.nim
@@ -1,5 +1,11 @@
+discard """
+  file: "toverflw2.nim"
+  output: "Error: unhandled exception: over- or underflow [EOverflow]"
+"""
 var a : int32 = 2147483647
 var b : int32 = 2147483647
 var c = a + b
 
 
+
+