summary refs log tree commit diff stats
path: root/tests/exception/t9657.nim
blob: ea93aff598a778d4bcd011f02e52d67dcc01cf0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
discard """
  action: run
  exitcode: 1
  target: "c"
  disabled: "openbsd"
  disabled: "netbsd"
"""
# todo: remove `target: "c"` workaround once #10343 is properly fixed
close stdmsg
const m = "exception!"
discard writeBuffer(stdmsg, cstring(m), m.len)