RISC-V: Work around bare apostrophe in error string.
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / advsimd-intrinsics / vld2_lane_s64_indices_1.c
blobde0a2c158a5b5a53f9ca76cfa6084ccae80440a3
1 #include <arm_neon.h>
3 /* { dg-do compile } */
4 /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */
5 /* { dg-skip-if "" { arm*-*-* } } */
7 int64x1x2_t
8 f_vld2_lane_s64 (int64_t * p, int64x1x2_t v)
10 int64x1x2_t res;
11 /* { dg-error "lane 1 out of range 0 - 0" "" { target *-*-* } 0 } */
12 res = vld2_lane_s64 (p, v, 1);
13 /* { dg-error "lane -1 out of range 0 - 0" "" { target *-*-* } 0 } */
14 res = vld2_lane_s64 (p, v, -1);
15 return res;