[IR] Add support for empty tokens
[oota-llvm.git] / test / Assembler / getelementptr_vec_struct.ll
index ec66836bac192b6f34e26d67273f628066bd1dce..493da6686a9138ec47c3808b13b20e507cbaa3b5 100644 (file)
@@ -5,6 +5,6 @@
 ; CHECK: invalid getelementptr indices
 
 define <2 x i32*> @test7(<2 x {i32, i32}*> %a) {
-  %w = getelementptr <2 x {i32, i32}*> %a, <2 x i32> <i32 5, i32 9>, <2 x i32> <i32 0, i32 1>
+  %w = getelementptr {i32, i32}, <2 x {i32, i32}*> %a, <2 x i32> <i32 5, i32 9>, <2 x i32> <i32 0, i32 1>
   ret <2 x i32*> %w
 }