implemented 'koch pdf'
This commit is contained in:
parent
d4230e052d
commit
76c3b314dc
10 changed files with 30 additions and 23 deletions
|
|
@ -1,12 +1,12 @@
|
|||
discard """
|
||||
line: 12
|
||||
errormsg: "type mismatch: got (proc (int){.closure, gcsafe.})"
|
||||
errormsg: "type mismatch: got (proc (int){.closure, gcsafe, locks: 0.})"
|
||||
"""
|
||||
|
||||
proc ugh[T](x: T) {.closure.} =
|
||||
echo "ugha"
|
||||
|
||||
|
||||
proc takeCdecl(p: proc (x: int) {.cdecl.}) = nil
|
||||
proc takeCdecl(p: proc (x: int) {.cdecl.}) = discard
|
||||
|
||||
takeCDecl(ugh[int])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue