diff options
author | Kier Davis <kierdavis@gmail.com> | 2016-07-11 15:16:23 +0100 |
---|---|---|
committer | Kier Davis <kierdavis@gmail.com> | 2016-07-11 15:16:23 +0100 |
commit | 023f1da40a1343dab0e3d8d2f1ef3bf08b55f91a (patch) | |
tree | 51c96d8096bae3f201bc7cb08bb8827df6737364 /tests/overload | |
parent | 56015e52b9028097446e06bc3f09581992e6d692 (diff) | |
download | Nim-023f1da40a1343dab0e3d8d2f1ef3bf08b55f91a.tar.gz |
Add regression test for fix for #4475
Diffstat (limited to 'tests/overload')
-rw-r--r-- | tests/overload/tissue4475.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/overload/tissue4475.nim b/tests/overload/tissue4475.nim new file mode 100644 index 000000000..34618cac5 --- /dev/null +++ b/tests/overload/tissue4475.nim @@ -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) |