summary refs log tree commit diff stats
path: root/tests/ccgbugs/tnocodegen_for_compiletime.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ccgbugs/tnocodegen_for_compiletime.nim')
-rw-r--r--tests/ccgbugs/tnocodegen_for_compiletime.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ccgbugs/tnocodegen_for_compiletime.nim b/tests/ccgbugs/tnocodegen_for_compiletime.nim
index a88ba4b32..3a952e303 100644
--- a/tests/ccgbugs/tnocodegen_for_compiletime.nim
+++ b/tests/ccgbugs/tnocodegen_for_compiletime.nim
@@ -1,7 +1,7 @@
 # bug #1679
 import macros, tables, hashes
 proc hash(v: NimNode): Hash = 4  # performance is for suckers
-macro test(body: stmt): stmt {.immediate.} =
+macro test(body: untyped) =
   var a = initCountTable[NimNode]()
   a.inc(body)