parent
7481f43753
commit
c87796180e
2 changed files with 20 additions and 3 deletions
14
tests/arc/timportedobj.nim
Normal file
14
tests/arc/timportedobj.nim
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
discard """
|
||||
cmd: "nim c --gc:arc $file"
|
||||
action: "compile"
|
||||
"""
|
||||
|
||||
# bug #13269
|
||||
|
||||
import posix
|
||||
proc foo*() =
|
||||
var last = newSeq[Stat]()
|
||||
var next = last
|
||||
for i in 0..3:
|
||||
last = next
|
||||
foo()
|
||||
Loading…
Add table
Add a link
Reference in a new issue