summary refs log tree commit diff stats
path: root/tests/exception
diff options
context:
space:
mode:
authoralaviss <alaviss@users.noreply.github.com>2018-11-22 20:46:07 +0700
committerAndreas Rumpf <rumpf_a@web.de>2018-11-22 14:46:07 +0100
commitc7eba64dee9a8e686fde03ee2a2992e93a084927 (patch)
tree372894fe76c40d40022926069cf488eabbd0d0ea /tests/exception
parent02351d02e752173b3ef168e1e113d6bdbf4a593d (diff)
downloadNim-c7eba64dee9a8e686fde03ee2a2992e93a084927.tar.gz
don't raise exception in the default handler (#9783)
fixes #9657
Diffstat (limited to 'tests/exception')
-rw-r--r--tests/exception/t9657.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/exception/t9657.nim b/tests/exception/t9657.nim
new file mode 100644
index 000000000..5d5164f4f
--- /dev/null
+++ b/tests/exception/t9657.nim
@@ -0,0 +1,6 @@
+discard """
+  action: run
+  exitcode: 1
+"""
+close stdmsg
+writeLine stdmsg, "exception!"