1 #include <arm_neon.h>
2 
3 /* { dg-do compile } */
4 /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */
5 
6 int32x4x4_t
f_vld4q_lane_s32(int32_t * p,int32x4x4_t v)7 f_vld4q_lane_s32 (int32_t * p, int32x4x4_t v)
8 {
9   int32x4x4_t res;
10   /* { dg-error "lane 4 out of range 0 - 3" "" { target *-*-* } 0 } */
11   res = vld4q_lane_s32 (p, v, 4);
12   /* { dg-error "lane -1 out of range 0 - 3" "" { target *-*-* } 0 } */
13   res = vld4q_lane_s32 (p, v, -1);
14   return res;
15 }
16