diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-02 02:46:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-02 02:46:29 +0000 |
commit | bbdfaf8ec7d3d9ef4bbbc85778e1323d26461ab2 (patch) | |
tree | 8968679a81f7235a0a84e700bc16b649459b6907 | |
parent | 5dd350defd1932c712a9a51c99c8a5384331b702 (diff) |
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
-rw-r--r-- | test/Linker/2004-12-03-DisagreeingType.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Linker/2004-12-03-DisagreeingType.ll b/test/Linker/2004-12-03-DisagreeingType.ll new file mode 100644 index 0000000000..9849e0c1fe --- /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 |