Files
Nim/tests/ccgbugs/xarray9578.nim
jcosborn b1091f85d4 fixes #9578 (#11176)
* fixes #9578

* fixed and expanded test
2019-05-06 09:34:03 +02:00

8 lines
134 B
Nim

import t9578
proc testArray*(x: var array[3,mytype]) =
f(x[0].addr)
proc testArray2*(x: var ptr array[3,mytype]) =
f(x[0].addr)