summary refs log tree commit diff stats
path: root/tests/generics/tgenerictmpl2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/generics/tgenerictmpl2.nim')
-rw-r--r--tests/generics/tgenerictmpl2.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/generics/tgenerictmpl2.nim b/tests/generics/tgenerictmpl2.nim
index 0ecaf9ded..ac92d3281 100644
--- a/tests/generics/tgenerictmpl2.nim
+++ b/tests/generics/tgenerictmpl2.nim
@@ -27,5 +27,5 @@ ttmpl[int]    #<- crash case #3
 
 # but still allow normal use of [] on non-generic templates
 
-template tarr: expr = [1, 2, 3, 4]
+template tarr: untyped = [1, 2, 3, 4]
 echo tarr[1]