This commit is contained in:
Araq 2014-04-06 22:05:42 +02:00
commit 7c065bfadf
12 changed files with 10 additions and 2 deletions

View file

@ -1,10 +0,0 @@
discard """
output: "4"
"""
# test that an endless recursion is avoided:
template optLen{len(x)}(x: expr): expr = len(x)
var s = "lala"
echo len(s)