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

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

8 lines
170 B
Nim

import t9578
proc testTuple*(x: var tuple[a:mytype,b:mytype,c:mytype]) =
f(x[0].addr)
proc testTuple2*(x: var ptr tuple[a:mytype,b:mytype,c:mytype]) =
f(x[0].addr)