diff options
Diffstat (limited to 'tests/compile/tgenerictmpl.nim')
-rw-r--r-- | tests/compile/tgenerictmpl.nim | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/compile/tgenerictmpl.nim b/tests/compile/tgenerictmpl.nim deleted file mode 100644 index a749e6570..000000000 --- a/tests/compile/tgenerictmpl.nim +++ /dev/null @@ -1,12 +0,0 @@ - -template tmp[T](x: var seq[T]) = - #var yz: T # XXX doesn't work yet - x = @[1, 2, 3] - -macro tmp2[T](x: var seq[T]): stmt = - nil - -var y: seq[int] -tmp(y) -tmp(y) -echo y.repr |