mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 22:10:33 +00:00
4
tests/arc/bmodule.nim
Normal file
4
tests/arc/bmodule.nim
Normal file
@@ -0,0 +1,4 @@
|
||||
import cmodule
|
||||
|
||||
for i in @[1, 2, 3].cycle():
|
||||
echo i
|
||||
4
tests/arc/cmodule.nim
Normal file
4
tests/arc/cmodule.nim
Normal file
@@ -0,0 +1,4 @@
|
||||
iterator cycle*[T](s: openArray[T]): T =
|
||||
let s = @s
|
||||
for x in s:
|
||||
yield x
|
||||
5
tests/arc/t14864.nim
Normal file
5
tests/arc/t14864.nim
Normal file
@@ -0,0 +1,5 @@
|
||||
discard """
|
||||
cmd: "nim c --gc:arc $file"
|
||||
"""
|
||||
|
||||
import bmodule
|
||||
Reference in New Issue
Block a user