summary refs log blame commit diff stats
path: root/tests/ccgbugs/t6279.nim
blob: 5a3d6768cc9ff2b2df6998dfd9a6d00011274ace (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                           
                    





                                                         
discard """
cmd: "nim c -r -d:fulldebug -d:smokeCycles --gc:refc $file"
output: '''@["a"]'''
"""

# bug #6279
var foo = newSeq[tuple[a: seq[string], b: seq[string]]]()
foo.add((@["a"], @["b"]))
echo foo[0].a # Crashes on this line