diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/types/tissues_types.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/types/tissues_types.nim b/tests/types/tissues_types.nim index 49c6d85ee..6bb1258f4 100644 --- a/tests/types/tissues_types.nim +++ b/tests/types/tissues_types.nim @@ -106,3 +106,13 @@ block: let t = Foo[float](x1: 1) doAssert t.x1 == 1 +block: + template s(d: varargs[typed])=discard + + proc something(x:float)=discard + proc something(x:int)=discard + proc otherthing()=discard + + s(something) + s(otherthing, something) + s(something, otherthing) |