Files
Nim/tests/misc/t19046.nim
Bung 75bc4a9b78 test for #19046 (#19839)
* test for #19046

* add threads flag

(cherry picked from commit ac89eead8a)
2023-04-24 21:58:15 +02:00

19 lines
245 B
Nim

discard """
targets: "c cpp"
matrix: "--threads:on"
disabled: "win"
disabled: "osx"
action: compile
"""
# bug #19046
import std/os
var t: Thread[void]
proc test = discard
proc main =
createThread(t, test)
pinToCpu(t, 1)
main()