1 #include <arm_neon.h> 2 3 /* { dg-do compile } */ 4 /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */ 5 /* { dg-skip-if "" { arm*-*-* } } */ 6 7 uint8x16x2_t f_vld2q_lane_u8(uint8_t * p,uint8x16x2_t v)8f_vld2q_lane_u8 (uint8_t * p, uint8x16x2_t v) 9 { 10 uint8x16x2_t res; 11 /* { dg-error "lane 16 out of range 0 - 15" "" { target *-*-* } 0 } */ 12 res = vld2q_lane_u8 (p, v, 16); 13 /* { dg-error "lane -1 out of range 0 - 15" "" { target *-*-* } 0 } */ 14 res = vld2q_lane_u8 (p, v, -1); 15 return res; 16 } 17