summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/stdlib/t9710.nim11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/stdlib/t9710.nim b/tests/stdlib/t9710.nim
new file mode 100644
index 000000000..f3ed860df
--- /dev/null
+++ b/tests/stdlib/t9710.nim
@@ -0,0 +1,11 @@
+discard """
+  cmd:      "nim c -r --debugger:native --panics:on $options $file"
+  targets:  "c"
+  nimout:   ""
+  action:   "run"
+  exitcode: 0
+  timeout:  60.0
+"""
+
+for i in 1 || 200:
+  discard i