diff options
Diffstat (limited to 'tests/proc/tprocredef.nim')
-rw-r--r-- | tests/proc/tprocredef.nim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/proc/tprocredef.nim b/tests/proc/tprocredef.nim new file mode 100644 index 000000000..0cd6ec770 --- /dev/null +++ b/tests/proc/tprocredef.nim @@ -0,0 +1,8 @@ +discard """ + errormsg: "redefinition of \'foo\'" + file: "tprocredef.nim" + line: 8 +""" + +proc foo(a: int, b: string) = discard +proc foo(a: int, b: string) = discard |