summary refs log tree commit diff stats
path: root/tests/overload/tissue966.nim
blob: c5b28e2176a9823d9fcb05668901329530b764cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
discard """
  errormsg: "type mismatch: got <PTest>"
"""

type
  PTest = ref object

proc test(x: PTest, y: int) = nil

var buf: PTest
buf.test()