From ce40ed18bb648a1ed1b78e37a07cc749ec3ab27e Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Tue, 31 Dec 2019 09:42:18 +0100 Subject: fixes #12965 (#12991) --- tests/destructor/tnewruntime_strutils.nim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/destructor/tnewruntime_strutils.nim b/tests/destructor/tnewruntime_strutils.nim index 74cd985ab..76f2d1a76 100644 --- a/tests/destructor/tnewruntime_strutils.nim +++ b/tests/destructor/tnewruntime_strutils.nim @@ -210,5 +210,9 @@ proc staticTests = nonStaticTests() staticTests() +# bug #12965 +let xaa = @[""].join() +let xbb = @["", ""].join() + let (a, d) = allocCounters() discard cprintf("%ld %ld\n", a, d) -- cgit 1.4.1-2-gfad0