parent
4846ce0f41
commit
2ecdf582a8
3 changed files with 22 additions and 0 deletions
10
tests/stdlib/tlocks.nim
Normal file
10
tests/stdlib/tlocks.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
discard """
|
||||
output: '''3'''
|
||||
cmd: "nim $target --threads:on $options $file"
|
||||
"""
|
||||
|
||||
#bug #6049
|
||||
import uselocks
|
||||
|
||||
var m = createMyType[int]()
|
||||
echo $m.use()
|
||||
Loading…
Add table
Add a link
Reference in a new issue