summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/Regression/Linker/2004-02-17-WeakStrongLinkage.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Regression/Linker/2004-02-17-WeakStrongLinkage.ll b/llvm/test/Regression/Linker/2004-02-17-WeakStrongLinkage.ll
new file mode 100644
index 00000000000..352c16b110c
--- /dev/null
+++ b/llvm/test/Regression/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
+
+
OpenPOWER on IntegriCloud