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
|
|
@ -15,7 +15,7 @@ when defined(allow_print):
|
|||
else:
|
||||
const print = false
|
||||
|
||||
proc myResult3*(i:int):X {.exportc.} =
|
||||
proc myResult3*(i:int): X {.exportc.} =
|
||||
if print: echo "3"
|
||||
new(result)
|
||||
if print: echo "3-2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue