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