fix #15663 (#15839) [backport:1.4]

This commit is contained in:
flywind 2020-11-05 21:00:49 +08:00 • committed by GitHub
commit 8e1fa84b0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

7
tests/stdlib/t15663.nim Normal file
View file

@ -0,0 +1,7 @@
discard """
cmd: "nim c --gc:arc $file"
output: "Test"
"""
let ws = newWideCString("Test")
echo ws