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