IR: Cleanup comments for Value, User, and MDNode
[oota-llvm.git] / test / Assembler / getelementptr_vec_idx2.ll
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.
4
5 ; CHECK: getelementptr index type missmatch
6
7 define <2 x i32> @test(<2 x i32*> %a) {
8   %w = getelementptr <2 x i32*> %a, i32 2
9   ret <2 x i32> %w
10 }