1  /* { dg-do assemble } */
       2  /* { dg-options "-std=c99" } */
       3  #include <arm_neon.h>
       4  
       5  int
       6  main (int argc, char **argv)
       7  {
       8    uint64x1_t base_a = vcreate_u64 (0x1111222233334444ULL);
       9    uint64x1_t base_b = vcreate_u64 (0x5555666677778888ULL);
      10    uint64x1_t base_c = vcreate_u64 (0x9999aaaabbbbccccULL);
      11    uint64x2_t baseq_b = vcombine_u64 (base_b, base_c);
      12    int32x2_t int32x2_a = vreinterpret_s32_u64 (base_a);
      13    int32x4_t int32x4_b = vreinterpretq_s32_u64 (baseq_b);
      14  
      15    /* { dg-error "lane -1 out of range 0 - 3" "" {target *-*-*} 0 } */
      16    vqrdmulh_laneq_s32 (int32x2_a, int32x4_b, -1);
      17    /* { dg-error "lane 4 out of range 0 - 3" "" {target *-*-*} 0 } */
      18    vqrdmulh_laneq_s32 (int32x2_a, int32x4_b, 4);
      19  }