mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 09:54:49 +00:00
13 lines
151 B
Nim
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()
|
|
|