LLParser: Require non-null scope for MDLocation and MDLocalVariable
[oota-llvm.git] / test / Assembler / getelementptr_vec_idx2.ll
index 8b71ce3095b1638d39f7d697fda07f0d25d0f3bb..638fcb8b67ddd8101524c66df4110e18a014947d 100644 (file)
@@ -5,6 +5,6 @@
 ; CHECK: getelementptr index type missmatch
 
 define <2 x i32> @test(<2 x i32*> %a) {
-  %w = getelementptr <2 x i32*> %a, i32 2
+  %w = getelementptr i32, <2 x i32*> %a, i32 2
   ret <2 x i32> %w
 }