diff options
author | Clyybber <darkmine956@gmail.com> | 2020-06-25 15:12:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 15:12:30 +0200 |
commit | 0a9a63923060cab29f0d0d9f8dec7fd9a37222e6 (patch) | |
tree | a0691fd45d080400584b0a95fc7a903563187421 /tests/modules | |
parent | 1a0725f022299ab345a34250d37d25498664184a (diff) | |
download | Nim-0a9a63923060cab29f0d0d9f8dec7fd9a37222e6.tar.gz |
Add testcase for #4796 (#14784)
* Add testcase for #4796 * Fix test
Diffstat (limited to 'tests/modules')
-rw-r--r-- | tests/modules/seq.nim | 5 | ||||
-rw-r--r-- | tests/modules/tseq.nim | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/modules/seq.nim b/tests/modules/seq.nim new file mode 100644 index 000000000..176e44025 --- /dev/null +++ b/tests/modules/seq.nim @@ -0,0 +1,5 @@ +var seq: seq[int] +var b: seq[float] + +echo seq +echo b diff --git a/tests/modules/tseq.nim b/tests/modules/tseq.nim new file mode 100644 index 000000000..22ee48f42 --- /dev/null +++ b/tests/modules/tseq.nim @@ -0,0 +1,8 @@ +discard """ + joinable: false + output: '''@[] +@[] +''' +""" + +import seq |