ARC: ported the GC tests over to --gc:arc
This commit is contained in:
parent
879801c639
commit
72237e2bcf
14 changed files with 79 additions and 29 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue