This commit is contained in:
Timothee Cour
2020-06-24 09:00:35 -07:00
committed by GitHub
parent 302e3b7f44
commit b49ac11a77

View File

@@ -1,11 +1,12 @@
discard """
action: run
exitcode: 1
target: "c"
target: "c cpp"
disabled: "openbsd"
disabled: "netbsd"
"""
# todo: remove `target: "c"` workaround once #10343 is properly fixed
close stdmsg
const m = "exception!"
# see #10343 for details on this test
discard writeBuffer(stdmsg, cstring(m), m.len)