summary refs log blame commit diff stats
path: root/tests/overload/tissue966.nim
blob: 2911348cfc647ef28bb532925e2cfcb227907c84 (plain) (tree)
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()