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  float32_t
       8  f_vmulxs_laneq_f32 (float32_t v1, float32x4_t v2)
       9  {
      10    float32_t res;
      11    /* { dg-error "lane -1 out of range 0 - 3" "" {target *-*-*} 0 } */
      12    res = vmulxs_laneq_f32 (v1, v2, -1);
      13    /* { dg-error "lane 4 out of range 0 - 3" "" {target *-*-*} 0 } */
      14    res = vmulxs_laneq_f32 (v1, v2, 4);
      15    return res;
      16  }