summary refs log blame commit diff stats
path: root/tests/accept/run/toverflw2.nim
blob: 075eae9e96afcdafe6d06b0745222afd2945ddf6 (plain) (tree)
1
2
3
4
5
6
7
8
9

                       
                                                                         
   




                          

 
discard """
  file: "toverflw2.nim"
  outputsub: "Error: unhandled exception: over- or underflow [EOverflow]"
"""
var a : int32 = 2147483647
var b : int32 = 2147483647
var c = a + b