PR116019: Improve tail call error message
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / advsimd-intrinsics / vld2_lane_bf16_indices_1.c
blobd568a26ba8a4abfce388a03de410d5af6e810521
1 /* { dg-do compile } */
2 /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */
3 /* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */
4 /* { dg-add-options arm_v8_2a_bf16_neon } */
6 #include <arm_neon.h>
8 bfloat16x4x2_t
9 f_vld2_lane_bf16 (bfloat16_t * p, bfloat16x4x2_t v)
11 bfloat16x4x2_t res;
12 /* { dg-error "lane 4 out of range 0 - 3" "" { target *-*-* } 0 } */
13 res = vld2_lane_bf16 (p, v, 4);
14 /* { dg-error "lane -1 out of range 0 - 3" "" { target *-*-* } 0 } */
15 res = vld2_lane_bf16 (p, v, -1);
16 return res;