Files
Nim/tests/refc/t24844.nim
ringabout a77d1cc6c1 fixes #24844; Invalid C codegen refc with generic types containing gc memory (#25160)
fixes #24844


it may not be used in other places except in `genTraverseProc`,
we have to generate a `typedesc` for this case, not a weak `typedec`
2025-09-15 15:03:22 +02:00

11 lines
123 B
Nim

discard """
matrix: "--mm:refc; --mm:arc"
joinable: false
"""
import m24844
u()
type E = distinct int
discard p[E]()