aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker
diff options
context:
space:
mode:
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
+
+