Add testcase for #4796 (#14784)

* Add testcase for #4796

* Fix test
This commit is contained in:
Clyybber 2020-06-25 15:12:30 +02:00 • committed by GitHub
commit 0a9a639230
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

5
tests/modules/seq.nim Normal file
View file

@ -0,0 +1,5 @@
var seq: seq[int]
var b: seq[float]
echo seq
echo b

8
tests/modules/tseq.nim Normal file
View file

@ -0,0 +1,8 @@
discard """
joinable: false
output: '''@[]
@[]
'''
"""
import seq