summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-12-31 09:42:18 +0100
committerGitHub <noreply@github.com>2019-12-31 09:42:18 +0100
commitce40ed18bb648a1ed1b78e37a07cc749ec3ab27e (patch)
tree665868848b98b177d734a9c1782ad444118b0fa6 /tests
parent9eeff690d504496640a6d891fc2a029a78c47774 (diff)
downloadNim-ce40ed18bb648a1ed1b78e37a07cc749ec3ab27e.tar.gz
fixes #12965 (#12991)
Diffstat (limited to 'tests')
-rw-r--r--tests/destructor/tnewruntime_strutils.nim4
1 files changed, 4 insertions, 0 deletions
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)