toverflowopcsubimmint.nim 134 B

1234567891011
  1. discard """
  2. errormsg: "over- or underflow"
  3. """
  4. static:
  5. proc p =
  6. var x = int64.low
  7. discard x - 1
  8. doAssert false
  9. p()