From 0a1e4cad7fc6149d168ecaa06bd613b64fc704fb Mon Sep 17 00:00:00 2001 From: flywind <43030857+xflywind@users.noreply.github.com> Date: Mon, 21 Sep 2020 18:21:05 +0800 Subject: add testcase for #9710 (#15365) * string is not nil anymore * tatus --- tests/stdlib/t9710.nim | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/stdlib/t9710.nim 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 -- cgit 1.4.1-2-gfad0