summary refs log blame commit diff stats
path: root/tests/overload/tissue966.nim
blob: 59c43c8f982afacb22eb5de9eb1db70a1c992235 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
           
                                   









                                 
discard """
  msg: "type mismatch: got (PTest)"
"""

type
  PTest = ref object

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

var buf: PTest
buf.test()