New testcase for PR245
authorChris Lattner <sabre@nondot.org>
Tue, 17 Feb 2004 21:58:29 +0000 (21:58 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 17 Feb 2004 21:58:29 +0000 (21:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11566 91177308-0d34-0410-b5e6-96231b3b80d8

test/Linker/2004-02-17-WeakStrongLinkage.ll [new file with mode: 0644]

diff --git a/test/Linker/2004-02-17-WeakStrongLinkage.ll b/test/Linker/2004-02-17-WeakStrongLinkage.ll
new file mode 100644 (file)
index 0000000..352c16b
--- /dev/null
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s > %t.out2.bc
+; RUN: echo "%me = global int* null" | llvm-as > %t.out1.bc
+; RUN: llvm-link %t.out[12].bc -o /dev/null -f
+
+%me = weak global int * null
+
+