aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-17 21:58:29 +0000
committerChris Lattner <sabre@nondot.org>2004-02-17 21:58:29 +0000
commitbf6fd9d832c4ee62efbaeb6d739bad3db68ea2b1 (patch)
treeaf531cc8cc279a84cb13fab368b51a5304a27687 /test/Linker
parent57cb9883aa4c82357594d4186858f175135be3b1 (diff)
downloadexternal_llvm-bf6fd9d832c4ee62efbaeb6d739bad3db68ea2b1.zip
external_llvm-bf6fd9d832c4ee62efbaeb6d739bad3db68ea2b1.tar.gz
external_llvm-bf6fd9d832c4ee62efbaeb6d739bad3db68ea2b1.tar.bz2
New testcase for PR245
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11566 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker')
-rw-r--r--test/Linker/2004-02-17-WeakStrongLinkage.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Linker/2004-02-17-WeakStrongLinkage.ll b/test/Linker/2004-02-17-WeakStrongLinkage.ll
new file mode 100644
index 0000000..352c16b
--- /dev/null
+++ b/test/Linker/2004-02-17-WeakStrongLinkage.ll
@@ -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
+
+