1  #include <arm_sve.h>
       2  
       3  void
       4  test (svbool_t pg, svint8_t s8, svuint8_t u8,
       5        svint16_t s16, svuint16_t u16, svint32_t s32, svuint32_t u32,
       6        svint64_t s64, svuint64_t u64, int16_t sh, uint16_t uh,
       7        int32_t sw, uint32_t uw, int64_t sd, uint64_t ud,
       8        float f)
       9  {
      10    svqincw (pg, 1); /* { dg-error {'svqincw' has no form that takes 'svbool_t' arguments} } */
      11    svqincw (s8, 1); /* { dg-error {'svqincw' has no form that takes 'svint8_t' arguments} } */
      12    svqincw (u8, 1); /* { dg-error {'svqincw' has no form that takes 'svuint8_t' arguments} } */
      13    svqincw (s16, 1); /* { dg-error {'svqincw' has no form that takes 'svint16_t' arguments} } */
      14    svqincw (u16, 1); /* { dg-error {'svqincw' has no form that takes 'svuint16_t' arguments} } */
      15    svqincw (s32, 1);
      16    svqincw (u32, 1);
      17    svqincw (s64, 1); /* { dg-error {'svqincw' has no form that takes 'svint64_t' arguments} } */
      18    svqincw (u64, 1); /* { dg-error {'svqincw' has no form that takes 'svuint64_t' arguments} } */
      19    svqincw (sh, 1);
      20    svqincw (sw, 1);
      21    svqincw (sd, 1);
      22    svqincw (uh, 1);
      23    svqincw (uw, 1);
      24    svqincw (ud, 1);
      25    svqincw (f, 1); /* { dg-error {passing 'float' to argument 1 of 'svqincw', which expects a 32-bit or 64-bit integer type} } */
      26  }