Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
[oota-llvm.git] / test / Feature / globalvars.ll
index 0b20c1b77366ff8d246e12d8684c6d1b61d430af..b5001627c6bc4878dc9df510078a27fc0039faa1 100644 (file)
@@ -19,7 +19,7 @@ implementation
 int "foo"(int %blah)
 begin
        store int 5, int *%MyVar
-       %idx = getelementptr { \2 *, int } * %MyIntList, long 0, ubyte 1
+       %idx = getelementptr { \2 *, int } * %MyIntList, long 0, uint 1
        store int 12, int* %idx
        ret int %blah
 end