add testcase for #9710 (#15365)

* string is not nil anymore

* tatus
This commit is contained in:
flywind 2020-09-21 18:21:05 +08:00 • committed by GitHub
commit 0a1e4cad7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
tests/stdlib/t9710.nim Normal file
View file

@ -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