summary refs log tree commit diff stats
path: root/tests/destructor
diff options
context:
space:
mode:
authorMiran <narimiran@disroot.org>2019-02-23 10:41:35 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-02-23 10:41:35 +0100
commite7878c0d0887b198583c96c854d6811e1a5907ad (patch)
tree303a334c71c3d1836cfee067f7797a5e4ceb328c /tests/destructor
parentea409fb15a62ff098e5de70efa780228b5d5aac0 (diff)
downloadNim-e7878c0d0887b198583c96c854d6811e1a5907ad.tar.gz
add tests for recently closed issues (#10722)
Diffstat (limited to 'tests/destructor')
-rw-r--r--tests/destructor/t7346.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/destructor/t7346.nim b/tests/destructor/t7346.nim
index ef2fd5b79..17f56681e 100644
--- a/tests/destructor/t7346.nim
+++ b/tests/destructor/t7346.nim
@@ -7,4 +7,5 @@ type
 
 proc `=`(a: var Obj, b: Obj) = discard
 
-let a: seq[Obj] = @[]
\ No newline at end of file
+let a: seq[Obj] = @[] # bug #7346
+let b = newSeq[Obj]() # bug #7345