summary refs log tree commit diff stats
path: root/tests/showoff/tonce.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/showoff/tonce.nim')
-rw-r--r--tests/showoff/tonce.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/showoff/tonce.nim b/tests/showoff/tonce.nim
index 6fc372e87..ed2684dcf 100644
--- a/tests/showoff/tonce.nim
+++ b/tests/showoff/tonce.nim
@@ -5,7 +5,7 @@ new instantiation
 some call of p'''
 """
 
-template once(body: stmt) =
+template once(body) =
   var x {.global.} = false
   if not x:
     x = true