mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
* stdlib tests now check refc too * typo * fixes line numbers * disable cpp * do not touch
12 lines
252 B
Nim
12 lines
252 B
Nim
discard """
|
|
matrix: "--mm:refc; --mm:orc"
|
|
errormsg: "'spawn' takes a call expression; got: proc (x: uint32) = echo [x]"
|
|
"""
|
|
|
|
import threadpool
|
|
|
|
# bug #7535
|
|
proc print_parallel_nok(r: uint32) =
|
|
for x in 0..r:
|
|
spawn (proc (x: uint32) = echo x)
|