getelementptr_vec_idx4.ll 283 B

12345
  1. ; RUN: not llvm-as < %s 2>&1 | FileCheck %s
  2. ; CHECK: getelementptr vector index has a wrong number of elements
  3. global <2 x i32*> getelementptr ([3 x {i32, i32}], <4 x [3 x {i32, i32}]*> zeroinitializer, <2 x i32> <i32 1, i32 2>, <2 x i32> <i32 2, i32 3>, <2 x i32> <i32 1, i32 1>)