llvm.org GIT mirror llvm / c49b27a
Add uses of the appending variable git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6177 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 17 years ago
1 changed file(s) with 7 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
44 ; RUN: link Output/%s.[12].bc | dis | grep 7 | grep 4 | grep 8
55
66 %X = appending global [2 x int] [int 7, int 4]
7
8 %Y = global int* getelementptr ([2 x int]* %X, long 0, long 0)
9
10 void %foo(long %V) {
11 %Y = getelementptr [2 x int]* %X, long 0, long %V
12 ret void
13 }