toverflw2.nim 179 B

12345678
  1. discard """
  2. outputsub: "Error: unhandled exception: over- or underflow [OverflowDefect]"
  3. exitcode: "1"
  4. """
  5. var a : int32 = 2147483647
  6. var b : int32 = 2147483647
  7. var c = a + b