tgotoexceptions3.nim 181 B

12345678
  1. discard """
  2. cmd: "nim c --gc:arc --exceptions:goto $file"
  3. outputsub: "Error: unhandled exception: Problem [OSError]"
  4. exitcode: "1"
  5. """
  6. raise newException(OSError, "Problem")