Check in an old test that never made it into CVS
authorChris Lattner <sabre@nondot.org>
Sun, 2 Jan 2005 02:46:29 +0000 (02:46 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 2 Jan 2005 02:46:29 +0000 (02:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19250 91177308-0d34-0410-b5e6-96231b3b80d8

test/Linker/2004-12-03-DisagreeingType.ll [new file with mode: 0644]

diff --git a/test/Linker/2004-12-03-DisagreeingType.ll b/test/Linker/2004-12-03-DisagreeingType.ll
new file mode 100644 (file)
index 0000000..9849e0c
--- /dev/null
@@ -0,0 +1,8 @@
+; RUN: echo "%G = weak global {{{{double}}}} zeroinitializer" | llvm-as > %t.out2.bc
+; RUN: llvm-as < %s > %t.out1.bc
+; RUN: llvm-link %t.out[12].bc | llvm-dis | not grep '\}'
+
+; When linked, the global above should be eliminated, being merged with the 
+; global below.
+
+%G = global double 1.0