1  #include <arm_sve.h>
       2  
       3  void
       4  f (svint8_t s8, svuint16_t u16, svfloat32_t f32,
       5     svint16x2_t s16x2, svuint32x3_t u32x3, svfloat64x4_t f64x4,
       6     svbool_t pg)
       7  {
       8    s8 = svlsr_x (pg, s8, 1); /* { dg-error {'svlsr_x' has no form that takes 'svint8_t' arguments} } */
       9    u16 = svneg_x (pg, u16); /* { dg-error {'svneg_x' has no form that takes 'svuint16_t' arguments} } */
      10    f32 = svclz_x (pg, f32); /* { dg-error {'svclz_x' has no form that takes 'svfloat32_t' arguments} } */
      11    s16x2 = svcreate2 (s8); /* { dg-error {too few arguments to function 'svcreate2'} } */
      12    u32x3 = svcreate3 (u16, u16, f32); /* { dg-error {passing 'svfloat32_t' to argument 3 of 'svcreate3', but previous arguments had type 'svuint16_t'} } */
      13    f64x4 = svcreate4 (f32, f32, f32, f32, f32); /* { dg-error {too many arguments to function 'svcreate4'} } */
      14    pg = svadd_x (pg, pg, pg); /* { dg-error {'svadd_x' has no form that takes 'svbool_t' arguments} } */
      15  }