Files
Nim/tests/template/tfielduse.nim
2025-01-31 09:37:31 +01:00

10 lines
121 B
Nim

# issue #24657
proc g() {.error.} = discard
type T = object
g: int
template B(): untyped = typeof(T.g)
type _ = B()