Files
Nim/tests/stdlib/tlocks.nim
ringabout 4fa86422c0 stdlib tests now check refc too (#21664)
* stdlib tests now check refc too

* typo

* fixes line numbers

* disable cpp

* do not touch
2023-04-21 15:37:58 +02:00

12 lines
171 B
Nim

discard """
targets: "c cpp js"
matrix: "--mm:refc; --mm:orc"
"""
#bug #6049
import uselocks
import std/assertions
var m = createMyType[int]()
doAssert m.use() == 3