summary refs log tree commit diff stats
path: root/tests/trmacros/tnoalias.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/trmacros/tnoalias.nim')
-rw-r--r--tests/trmacros/tnoalias.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/trmacros/tnoalias.nim b/tests/trmacros/tnoalias.nim
index 1d5671362..ec12d4712 100644
--- a/tests/trmacros/tnoalias.nim
+++ b/tests/trmacros/tnoalias.nim
@@ -2,7 +2,7 @@ discard """
   output: "23"
 """
 
-template optslice{a = b + c}(a: expr{noalias}, b, c: expr): stmt =
+template optslice{a = b + c}(a: untyped{noalias}, b, c: untyped): typed =
   a = b
   inc a, c