implemented 'koch pdf'

This commit is contained in:
Araq 2014-12-19 13:44:56 +01:00
commit 76c3b314dc
10 changed files with 30 additions and 23 deletions

View file

@ -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])