PR116019: Improve tail call error message
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / advsimd-intrinsics / vld2_lane_s16_indices_1.c
blobad56c8b97a9f93e67d099aa4529c7484e45f7bbf
1 #include <arm_neon.h>
3 /* { dg-do compile } */
4 /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */
6 int16x4x2_t
7 f_vld2_lane_s16 (int16_t * p, int16x4x2_t v)
9 int16x4x2_t res;
10 /* { dg-error "lane 4 out of range 0 - 3" "" { target *-*-* } 0 } */
11 res = vld2_lane_s16 (p, v, 4);
12 /* { dg-error "lane -1 out of range 0 - 3" "" { target *-*-* } 0 } */
13 res = vld2_lane_s16 (p, v, -1);
14 return res;