blob: 183036f4f5d66c9985c9498b011456caf9da2ac2 [file] [log] [blame]
#include <arm_neon.h>
/* { dg-do compile } */
/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */
float32x2x4_t
f_vld4_lane_f32 (float32_t * p, float32x2x4_t v)
{
float32x2x4_t res;
/* { dg-error "lane 2 out of range 0 - 1" "" { target *-*-* } 0 } */
res = vld4_lane_f32 (p, v, 2);
/* { dg-error "lane -1 out of range 0 - 1" "" { target *-*-* } 0 } */
res = vld4_lane_f32 (p, v, -1);
return res;
}