This commit is contained in:
Andreas Rumpf 2020-02-07 06:58:57 +01:00 • committed by GitHub
commit c87796180e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 3 deletions

View 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()