blob: 02282d93f7886621755f889f2f182d4d195d795c [file] [log] [blame]
#include <arm_neon.h>
/* { dg-do compile } */
/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */
int32x2x4_t
f_vld4_lane_s32 (int32_t * p, int32x2x4_t v)
{
int32x2x4_t res;
/* { dg-error "lane 2 out of range 0 - 1" "" { target *-*-* } 0 } */
res = vld4_lane_s32 (p, v, 2);
/* { dg-error "lane -1 out of range 0 - 1" "" { target *-*-* } 0 } */
res = vld4_lane_s32 (p, v, -1);
return res;
}