summary refs log tree commit diff stats
path: root/tests/exception/t21261.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exception/t21261.nim')
-rw-r--r--tests/exception/t21261.nim9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/exception/t21261.nim b/tests/exception/t21261.nim
new file mode 100644
index 000000000..84817d854
--- /dev/null
+++ b/tests/exception/t21261.nim
@@ -0,0 +1,9 @@
+discard """
+  exitcode: 1
+  outputsub: '''
+m21261.nim(1)            m21261
+Error: unhandled exception: something [Exception]
+'''
+"""
+
+import m21261
\ No newline at end of file