Add testcase for #9684 (#11221)

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

View file

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