1 ; RUN: not llvm-as < %s >/dev/null 2> %t
2 ; RUN: FileCheck %s < %t
3 ; Test that a vector pointer is only used with a vector index.
5 ; CHECK: getelementptr index type missmatch
7 define <2 x i32> @test(<2 x i32*> %a) {
8 %w = getelementptr <2 x i32*> %a, i32 2