diff options
author | Clyybber <darkmine956@gmail.com> | 2019-05-10 08:03:48 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-05-10 08:03:48 +0200 |
commit | a4f531c243da957d6f089a2fc591d2b7f1087575 (patch) | |
tree | 576b49ea261bb27e12373745498d53e925ff01a0 | |
parent | 6be9b98e35551fcdeccef0379c9771626a307ed2 (diff) | |
download | Nim-a4f531c243da957d6f089a2fc591d2b7f1087575.tar.gz |
Add testcase for #9684 (#11221)
-rw-r--r-- | tests/ccgbugs/tsequence_outoforder.nim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ccgbugs/tsequence_outoforder.nim b/tests/ccgbugs/tsequence_outoforder.nim new file mode 100644 index 000000000..93a45900d --- /dev/null +++ b/tests/ccgbugs/tsequence_outoforder.nim @@ -0,0 +1,11 @@ +discard """ + output: '''@[2]''' +""" + +# bug #9684 + +var s2 = @[2, 2] + +s2 = @[s2.len] + +echo s2 |