summary refs log tree commit diff stats
path: root/tests/exception/t20613.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exception/t20613.nim')
-rw-r--r--tests/exception/t20613.nim8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/exception/t20613.nim b/tests/exception/t20613.nim
new file mode 100644
index 000000000..6edb69415
--- /dev/null
+++ b/tests/exception/t20613.nim
@@ -0,0 +1,8 @@
+discard """
+  matrix: "; --panics:on"
+"""
+
+func test =
+  if 0 > 10:
+    raiseAssert "hey"
+test()