1 ; This file is used by testlink1.ll, so it doesn't actually do anything itself
6 %MyIntList = uninitialized global { \2 *, int }
8 %AConst = constant int 123
10 %Intern1 = internal constant int 52 ;; Intern in both testlink[12].ll
11 %Intern2 = constant int 12345 ;; Intern in one but not in other
13 %MyIntListPtr = constant { {\2,int}* } { {\2,int}* %MyIntList }
14 %MyVarPtr = global { int * } { int * %MyVar }
22 store int %blah, int *%MyVar
23 %idx = getelementptr { \2 *, int } * %MyIntList, uint 0, ubyte 1
24 store int 12, int* %idx
26 %ack = load int * %0 ;; Load from the unnamed constant
27 %fzo = add int %ack, %blah
31 declare void "unimp"(float, double)
33 internal void "testintern"() begin ret void end
34 void "Testintern"() begin ret void end
35 internal void "testIntern"() begin ret void end