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:
d450a0a
)
Add uses of the appending variable
author
Chris Lattner
<sabre@nondot.org>
Tue, 13 May 2003 21:32:48 +0000
(21:32 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 13 May 2003 21:32:48 +0000
(21:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6177
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Linker/AppendingLinkage.ll
patch
|
blob
|
history
diff --git
a/test/Linker/AppendingLinkage.ll
b/test/Linker/AppendingLinkage.ll
index 129e4582994af63498dbcfe2a5ccdaffdfc76bba..de925a7d6c97ca6b3585d6500018aa7c863d15b6 100644
(file)
--- a/
test/Linker/AppendingLinkage.ll
+++ b/
test/Linker/AppendingLinkage.ll
@@
-5,3
+5,10
@@
; RUN: link Output/%s.[12].bc | dis | grep 7 | grep 4 | grep 8
%X = appending global [2 x int] [int 7, int 4]
+
+%Y = global int* getelementptr ([2 x int]* %X, long 0, long 0)
+
+void %foo(long %V) {
+ %Y = getelementptr [2 x int]* %X, long 0, long %V
+ ret void
+}