summary refs log tree commit diff stats
path: root/tests/proc/tprocredef.nim
blob: 86ed92b6295099a0a61b76b6753d4e93f1a6d6a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
discard """
  file: "tprocredef.nim"
  line: 8
  errormsg: "redefinition of \'foo\'"
"""

proc foo(a: int, b: string) = nil
proc foo(a: int, b: string) = nil