[LLD][ELF] - Add a test for non-null terminated mergeable strings section. NFCI.

LLD reports an error in this case, but we had no test.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@347535 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/ELF/mergeable-errors.s b/test/ELF/mergeable-errors.s
new file mode 100644
index 0000000..5785898
--- /dev/null
+++ b/test/ELF/mergeable-errors.s
@@ -0,0 +1,8 @@
+# REQUIRES: x86
+# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
+# RUN: not ld.lld %t.o -o %t1 2>&1 | FileCheck %s
+
+# CHECK: error: {{.*}}.o:(.mergeable): string is not null terminated
+
+.section .mergeable,"MS",@progbits,2
+  .short 0x1122