diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-08-17 21:19:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-17 21:19:57 +0200 |
commit | 7cb31455ee949ee006e2f314daa74866cf37a74e (patch) | |
tree | 641661998fac2b6a14873e6b661d5e48be61c502 /tests/exception | |
parent | b68380f09b1926f4aea89b14b52bb442d5b002de (diff) | |
download | Nim-7cb31455ee949ee006e2f314daa74866cf37a74e.tar.gz |
fixes #11618 (#11969)
Diffstat (limited to 'tests/exception')
-rw-r--r-- | tests/exception/t9657.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/exception/t9657.nim b/tests/exception/t9657.nim index c96a0a597..0b6e128e0 100644 --- a/tests/exception/t9657.nim +++ b/tests/exception/t9657.nim @@ -5,4 +5,5 @@ discard """ """ # todo: remove `target: "c"` workaround once #10343 is properly fixed close stdmsg -writeLine stdmsg, "exception!" +const m = "exception!" +discard writeBuffer(stdmsg, cstring(m), m.len) |