summary refs log tree commit diff stats
path: root/tests/exception/t9657.nim
blob: 6ac525a70bae1c083b90e860c82279f02bd61332 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
discard """
  action: run
  exitcode: 1
  targets: "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)