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