Add testcase for #9684 (#11221)

This commit is contained in:
Clyybber
2019-05-10 08:03:48 +02:00
committed by Andreas Rumpf
parent 6be9b98e35
commit a4f531c243

View File

@@ -0,0 +1,11 @@
discard """
output: '''@[2]'''
"""
# bug #9684
var s2 = @[2, 2]
s2 = @[s2.len]
echo s2