ARC: ported the GC tests over to --gc:arc

This commit is contained in:
Araq 2019-11-25 15:29:41 +01:00 • committed by Andreas Rumpf
commit 72237e2bcf
14 changed files with 79 additions and 29 deletions

View file

@ -12,7 +12,8 @@ type
proc makePair: PCyclic =
new(result)
new(result.sibling)
result.sibling.sibling = result
when not defined(gcDestructors):
result.sibling.sibling = result
proc loop =
for i in 0..10000: