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