diff options
Diffstat (limited to 'tests/run/tpatterns.nim')
-rw-r--r-- | tests/run/tpatterns.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/tpatterns.nim b/tests/run/tpatterns.nim index 4a83d167c..6bc8772e3 100644 --- a/tests/run/tpatterns.nim +++ b/tests/run/tpatterns.nim @@ -4,7 +4,7 @@ hel''' """ template optZero{x+x}(x: int): int = x*3 -template andthen{x*3}(x: int): int = x*4 +template andthen{`*`(x,3)}(x: int): int = x*4 template optSubstr1{x = substr(x, a, b)}(x: string, a, b: int) = setlen(x, b+1) var y = 12 |