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