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, svfloat16_t f16,
       6        svint32_t s32, svuint32_t u32, svfloat32_t f32,
       7        svint64_t s64, svuint64_t u64, svfloat64_t f64, float f, int i)
       8  {
       9    svunpklo (); /* { dg-error {too few arguments to function 'svunpklo'} } */
      10    svunpklo (pg, s8); /* { dg-error {too many arguments to function 'svunpklo'} } */
      11    svunpklo (i); /* { dg-error {passing 'int' to argument 1 of 'svunpklo', which expects an SVE vector type} } */
      12    svunpklo (f); /* { dg-error {passing 'float' to argument 1 of 'svunpklo', which expects an SVE vector type} } */
      13    svunpklo (pg);
      14    svunpklo (s8);
      15    svunpklo (s16);
      16    svunpklo (s32);
      17    svunpklo (s64); /* { dg-error {'svunpklo' has no form that takes 'svint64_t' arguments} } */
      18    svunpklo (u8);
      19    svunpklo (u16);
      20    svunpklo (u32);
      21    svunpklo (u64); /* { dg-error {'svunpklo' has no form that takes 'svuint64_t' arguments} } */
      22    svunpklo (f16); /* { dg-error {'svunpklo' has no form that takes 'svfloat16_t' arguments} } */
      23    svunpklo (f32); /* { dg-error {'svunpklo' has no form that takes 'svfloat32_t' arguments} } */
      24    svunpklo (f64); /* { dg-error {'svunpklo' has no form that takes 'svfloat64_t' arguments} } */
      25  }