Update LLVM tests to use new pointer indexing, and remove unsized array test support
[oota-llvm.git] / test / Linker / testlink1.ll
index cf757f100e53c17f1815bdd7eef28a85023c54b2..12cf652d158132a7c9e17a8d4ac4906b7e787b8e 100644 (file)
@@ -22,7 +22,7 @@ begin
        %v1 = load int* %MyVar
        call void %print(int %v1)    ;; Should start out 4
 
-       %v2 = load { \2 *, int }* %MyIntList, ubyte 1
+       %v2 = load { \2 *, int }* %MyIntList, uint 0, ubyte 1
        call void %print(int %v2)    ;; Should start out 17
 
        call int %foo(int 5)         ;; Modify global variablesx
@@ -30,7 +30,7 @@ begin
        %v3 = load int* %MyVar
        call void %print(int %v3)    ;; Should now be 5
 
-       %v4 = load { \2 *, int }* %MyIntList, ubyte 1
+       %v4 = load { \2 *, int }* %MyIntList, uint 0, ubyte 1
        call void %print(int %v4)    ;; Should start out 12
 
        ret void