Add regression test for fix for #4475

This commit is contained in:
Kier Davis
2016-07-11 15:16:23 +01:00
parent 56015e52b9
commit 023f1da40a

View File

@@ -0,0 +1,6 @@
# Bug: https://github.com/nim-lang/Nim/issues/4475
# Fix: https://github.com/nim-lang/Nim/pull/4477
proc test(x: varargs[string], y: int) = discard
test(y = 1)