This commit is contained in:
Araq 2015-04-24 16:29:20 +02:00
commit 4d20aafb5e
2 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,12 @@
discard """
errormsg: "type mismatch"
line: 11
"""
# bug #2372
macro foo(dummy: int): stmt =
discard
proc takeStr(s: string) = echo s
takeStr foo(12)