This commit is contained in:
Clyybber 2019-05-05 08:26:22 +02:00 • committed by Miran
commit 4fd79f5b47
2 changed files with 13 additions and 1 deletions

View file

@ -82,3 +82,14 @@ reject bindArg(int, string, 10.0, 20, "test", "nest")
reject bindArg(int, string, "test", "nest", 10, 20)
echo "ok"
#11058:
template test(S: type, U: type) =
discard
test(int, float)
proc test2(S: type, U: type) =
discard
test2(float, int)