mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-03 10:24:44 +00:00
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
|
||||
Reference in New Issue
Block a user