[llvm-commits] CVS: llvm/test/Regression/Linker/2003-10-27-LinkOncePromote.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon Oct 27 10:19:01 PST 2003
Changes in directory llvm/test/Regression/Linker:
2003-10-27-LinkOncePromote.ll added (r1.1)
---
Log message:
New testcase
---
Diffs of the changes: (+8 -0)
Index: llvm/test/Regression/Linker/2003-10-27-LinkOncePromote.ll
diff -c /dev/null llvm/test/Regression/Linker/2003-10-27-LinkOncePromote.ll:1.1
*** /dev/null Mon Oct 27 10:18:38 2003
--- llvm/test/Regression/Linker/2003-10-27-LinkOncePromote.ll Mon Oct 27 10:18:28 2003
***************
*** 0 ****
--- 1,8 ----
+ ; The linker should merge link-once globals into strong external globals,
+ ; just like it does for weak symbols!
+
+ ; RUN: echo "%X = global int 8" | llvm-as > %t.2.bc
+ ; RUN: llvm-as < %s > %t.1.bc
+ ; RUN: llvm-link %t.[12].bc
+
+ %X = linkonce global int 7
More information about the llvm-commits
mailing list