summary refs log tree commit diff stats
path: root/tests/vm/tmitems_vm.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vm/tmitems_vm.nim')
-rw-r--r--tests/vm/tmitems_vm.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/vm/tmitems_vm.nim b/tests/vm/tmitems_vm.nim
index 87835d1cd..787d52cc6 100644
--- a/tests/vm/tmitems_vm.nim
+++ b/tests/vm/tmitems_vm.nim
@@ -7,7 +7,7 @@ discard """
 # bug #3731
 var list {.compileTime.} = newSeq[int]()
 
-macro calc*(): typed =
+macro calc*(): void =
   list.add(1)
   for c in list.mitems:
     c = 13
@@ -19,7 +19,7 @@ calc()
 
 # bug #3859
 import macros
-macro m: typed =
+macro m: void =
   var s = newseq[NimNode](3)
   # var s: array[3,NimNode]                 # not working either
   for i in 0..<s.len: s[i] = newLit(3)    # works