New testcase. The linker should not consider it an error if two types
authorChris Lattner <sabre@nondot.org>
Tue, 21 Oct 2003 22:46:22 +0000 (22:46 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 21 Oct 2003 22:46:22 +0000 (22:46 +0000)
disagree.  It should grumble, then go ahead and do it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9356 91177308-0d34-0410-b5e6-96231b3b80d8

test/Linker/2003-10-21-ConflictingTypesTolerance.ll [new file with mode: 0644]

diff --git a/test/Linker/2003-10-21-ConflictingTypesTolerance.ll b/test/Linker/2003-10-21-ConflictingTypesTolerance.ll
new file mode 100644 (file)
index 0000000..afc8f46
--- /dev/null
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s > %t.out1.bc
+; RUN: echo "%S = type [8 x int] external global %S " | llvm-as > %t.out2.bc
+; RUN: llvm-link %t.out[12].bc | llvm-dis | grep %S | grep '{'
+
+%S = type { int }
+
+