summary refs log tree commit diff stats
path: root/tests/destructor/helper.nim
diff options
context:
space:
mode:
authorcooldome <cdome@bk.ru>2019-01-18 07:51:22 +0000
committerAndreas Rumpf <rumpf_a@web.de>2019-01-18 08:51:22 +0100
commit1e63f1edb3fa594bcdce39eb5195d5f5d2644e67 (patch)
tree04b8bf5530b2b8960ed890d3f34a1aead417453b /tests/destructor/helper.nim
parent214f48eae9b6a02d5ba68ddf0b1e6b9a26bddacb (diff)
downloadNim-1e63f1edb3fa594bcdce39eb5195d5f5d2644e67.tar.gz
destructors: first step towards fixing #9617 (#10341)
Diffstat (limited to 'tests/destructor/helper.nim')
-rw-r--r--tests/destructor/helper.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/destructor/helper.nim b/tests/destructor/helper.nim
new file mode 100644
index 000000000..466065747
--- /dev/null
+++ b/tests/destructor/helper.nim
@@ -0,0 +1,3 @@
+type
+  MyTestObject*[T] = object
+    p: ptr T