summary refs log tree commit diff stats
path: root/tests/exception/t9657.nim
blob: 0b6e128e01476db60082f0c14c21d5c2e3197249 (plain) (blame)
1
2
3
4
5
6
7
8
9
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)