From bbdfaf8ec7d3d9ef4bbbc85778e1323d26461ab2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 2 Jan 2005 02:46:29 +0000 Subject: [PATCH] Check in an old test that never made it into CVS git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19250 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Linker/2004-12-03-DisagreeingType.ll | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/Linker/2004-12-03-DisagreeingType.ll diff --git a/test/Linker/2004-12-03-DisagreeingType.ll b/test/Linker/2004-12-03-DisagreeingType.ll new file mode 100644 index 00000000000..9849e0c1fe5 --- /dev/null +++ b/test/Linker/2004-12-03-DisagreeingType.ll @@ -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