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