summary refs log tree commit diff stats
path: root/tests/trmacros
diff options
context:
space:
mode:
Diffstat (limited to 'tests/trmacros')
-rw-r--r--tests/trmacros/targlist.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/trmacros/targlist.nim b/tests/trmacros/targlist.nim
index e416edf0a..321b3d5d2 100644
--- a/tests/trmacros/targlist.nim
+++ b/tests/trmacros/targlist.nim
@@ -3,7 +3,7 @@ discard """
 """
 
 proc f(x: varargs[string, `$`]) = discard
-template optF{f(X)}(x: varargs[expr]) = 
+template optF{f(x)}(x: varargs[expr]) = 
   writeln(stdout, x)
 
 f 1, 2, false, 3, "ha"