Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
[oota-llvm.git] / test / Linker / testlink1.ll
index df70afe0548ce4fe256315a14a1e7a25121d18c2..845d0fea3578c7b78b9e7cb6e46ebd62232d8384 100644 (file)
@@ -25,7 +25,7 @@ begin
        %v1 = load int* %MyVar
        call void %print(int %v1)    ;; Should start out 4
 
-       %idx = getelementptr { \2 *, int }* %MyIntList, long 0, ubyte 1
+       %idx = getelementptr { \2 *, int }* %MyIntList, long 0, uint 1
        %v2 = load int* %idx
        call void %print(int %v2)    ;; Should start out 17