aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/getelementptr_vec_idx4.ll
blob: 08fe43461c9893b998939c57f1732f69db4382dc (plain)
1
2
3
4
5
; RUN: not llvm-as < %s 2>&1 | FileCheck %s

; CHECK: getelementptr vector index has a wrong number of elements

global <2 x i32*> getelementptr (<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>)