parent
518b794491
commit
4b09a89758
3 changed files with 47 additions and 3 deletions
12
tests/overload/tissue966.nim
Normal file
12
tests/overload/tissue966.nim
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
discard """
|
||||
msg: 'type mismatch: got (PTest)'
|
||||
"""
|
||||
|
||||
type
|
||||
PTest = ref object
|
||||
|
||||
proc test(x: PTest, y: int) = nil
|
||||
|
||||
var buf: PTest
|
||||
buf.test()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue