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
171 B
Nim
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
|