mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 12:07:51 +00:00
10 lines
211 B
Nim
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)
|