summary refs log tree commit diff stats
path: root/tests/destructor/tconst_smart_ptr.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/destructor/tconst_smart_ptr.nim')
-rw-r--r--tests/destructor/tconst_smart_ptr.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/destructor/tconst_smart_ptr.nim b/tests/destructor/tconst_smart_ptr.nim
new file mode 100644
index 000000000..39fe12612
--- /dev/null
+++ b/tests/destructor/tconst_smart_ptr.nim
@@ -0,0 +1,7 @@
+discard """
+  action: "compile"
+"""
+
+import const_smart_ptr
+
+discard test(0)