This commit is contained in:
Timothee Cour 2020-06-24 09:00:35 -07:00 • committed by GitHub
commit b49ac11a77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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