Files
Nim/tests/exception/t9657.nim
2019-08-17 21:19:57 +02:00

10 lines
211 B
Nim

discard """
action: run
exitcode: 1
target: "c"
"""
# todo: remove `target: "c"` workaround once #10343 is properly fixed
close stdmsg
const m = "exception!"
discard writeBuffer(stdmsg, cstring(m), m.len)