* fixes #9578

* fixed and expanded test
This commit is contained in:
jcosborn 2019-05-06 02:34:03 -05:00 • committed by Andreas Rumpf
commit b1091f85d4
7 changed files with 109 additions and 0 deletions

View file

@ -0,0 +1,7 @@
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)