parent
6be9b98e35
commit
a4f531c243
1 changed files with 11 additions and 0 deletions
11
tests/ccgbugs/tsequence_outoforder.nim
Normal file
11
tests/ccgbugs/tsequence_outoforder.nim
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
discard """
|
||||
output: '''@[2]'''
|
||||
"""
|
||||
|
||||
# bug #9684
|
||||
|
||||
var s2 = @[2, 2]
|
||||
|
||||
s2 = @[s2.len]
|
||||
|
||||
echo s2
|
||||
Loading…
Add table
Add a link
Reference in a new issue