Files
Nim/tests/overload/tissue966.nim
2018-05-02 13:34:54 +02:00

13 lines
151 B
Nim

discard """
errormsg: "type mismatch: got <PTest>"
"""
type
PTest = ref object
proc test(x: PTest, y: int) = discard
var buf: PTest
buf.test()