summary refs log tree commit diff stats
path: root/tests/pragmas
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2022-04-27 02:14:39 +0800
committerGitHub <noreply@github.com>2022-04-26 20:14:39 +0200
commit8bfc396a4dfa722239818f399a119452a53fe07f (patch)
treefaa97a1e5566de2e71a791264691fe2783260d44 /tests/pragmas
parentef4ac5a0d23fcffac9963670b73fa69ad0d0aa73 (diff)
downloadNim-8bfc396a4dfa722239818f399a119452a53fe07f.tar.gz
fixes #18612; apply cache and memcmp for methods in arc/orc (#19749)
* try using endsWith

* use memcmp

* add cache

* cleanup

* better

* minor

* fix

* improve test coverage for methods with ARC
Diffstat (limited to 'tests/pragmas')
-rw-r--r--tests/pragmas/tlocks.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pragmas/tlocks.nim b/tests/pragmas/tlocks.nim
index ba66a2dca..6c2a9f9e9 100644
--- a/tests/pragmas/tlocks.nim
+++ b/tests/pragmas/tlocks.nim
@@ -1,3 +1,6 @@
+discard """
+  matrix: "--mm:arc; --mm:refc"
+"""
 
 type SomeBase* = ref object of RootObj
 type SomeDerived* = ref object of SomeBase