summary refs log tree commit diff stats
path: root/tests/destructor/t7346.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/destructor/t7346.nim')
-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