diff options
Diffstat (limited to 'tests/stdlib/tlocks.nim')
-rw-r--r-- | tests/stdlib/tlocks.nim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/stdlib/tlocks.nim b/tests/stdlib/tlocks.nim new file mode 100644 index 000000000..1c5f67119 --- /dev/null +++ b/tests/stdlib/tlocks.nim @@ -0,0 +1,11 @@ +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 |