projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e3869c8
)
Add tests for linker and linkonce globals
author
Chris Lattner
<sabre@nondot.org>
Wed, 16 Apr 2003 21:21:35 +0000
(21:21 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 16 Apr 2003 21:21:35 +0000
(21:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5791
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Linker/LinkOnce.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/Linker/LinkOnce.ll
b/test/Linker/LinkOnce.ll
new file mode 100644
(file)
index 0000000..
01ec986
--- /dev/null
+++ b/
test/Linker/LinkOnce.ll
@@ -0,0
+1,8
@@
+; This fails because the linker renames the non-opaque type not the opaque
+; one...
+
+; RUN: echo "%X = linkonce global int 8" | as > Output/%s.2.bc
+; RUN: as < %s > Output/%s.1.bc
+; RUN: link Output/%s.[12].bc | dis
+
+%X = linkonce global int 7