llvm.org GIT mirror llvm / b4b07c7
Add testcases for internal git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1388 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 18 years ago
2 changed file(s) with 15 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
33 uninitialized global int ; int*:0
44
55 %AConst = constant int 123
6
7 %Intern1 = internal constant int 42
8 %Intern2 = internal constant int 792
69
710 ; Initialized to point to external %MyVar
811 %MyVarPtr = global { int * } { int * %MyVar }
3235 ret void
3336 end
3437
38 internal void "testintern"() begin ret void end
39 internal void "Testintern"() begin ret void end
40 void "testIntern"() begin ret void end
41
22 %MyIntList = uninitialized global { \2 *, int }
33
44 %AConst = constant int 123
5
6 %Intern1 = internal constant int 52 ;; Intern in both testlink[12].ll
7 %Intern2 = constant int 12345 ;; Intern in one but not in other
58
69 %MyIntListPtr = constant { {\2,int}* } { {\2,int}* %MyIntList }
710 %MyVarPtr = global { int * } { int * %MyVar }
2124 end
2225
2326 declare void "unimp"(float, double)
27
28 internal void "testintern"() begin ret void end
29 void "Testintern"() begin ret void end
30 internal void "testIntern"() begin ret void end
31