summary refs log tree commit diff stats
path: root/tests/vm/twrongconst.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vm/twrongconst.nim')
-rw-r--r--tests/vm/twrongconst.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vm/twrongconst.nim b/tests/vm/twrongconst.nim
index 424ed080e..a329cb578 100644
--- a/tests/vm/twrongconst.nim
+++ b/tests/vm/twrongconst.nim
@@ -4,6 +4,6 @@ discard """
 """
 
 var x: array[100, char]
-template foo : expr = x[42]
+template foo : char = x[42]
 
 const myConst = foo