summary refs log tree commit diff stats
path: root/tests/ccgbugs/xseq9578.nim
blob: 782efe04f30e5267813f7fd33acb620d9c196955 (plain) (blame)
1
2
3
4
5
6
7
import t9578

proc testSeq*(x: var seq[mytype]) =
  f(x[0].addr)

proc testSeq2*(x: var ptr seq[mytype]) =
  f(x[0].addr)