summary refs log tree commit diff stats
path: root/tests/exception/t9657.nim
blob: 514d29353abfedc9c7072294d7ffb002aa4fd8c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
discard """
  action: run
  exitcode: 1
  target: "c cpp"
  disabled: "openbsd"
  disabled: "netbsd"
"""

close stdmsg
const m = "exception!"
# see #10343 for details on this test
discard writeBuffer(stdmsg, cstring(m), m.len)