(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
sve/
acle/
general-c/
reduction_1.c
       1  /* { dg-do compile } */
       2  
       3  #include <arm_sve.h>
       4  
       5  void
       6  f1 (svbool_t pg, svint32_t s32, svuint32_t u32, svfloat32_t f32,
       7      svuint32x2_t u32x2)
       8  {
       9    svorv (pg); /* { dg-error {too few arguments to function 'svorv'} } */
      10    svorv (pg, u32, u32); /* { dg-error {too many arguments to function 'svorv'} } */
      11    svorv (0, u32); /* { dg-error {passing 'int' to argument 1 of 'svorv', which expects 'svbool_t'} } */
      12    svorv (u32, u32); /* { dg-error {passing 'svuint32_t' to argument 1 of 'svorv', which expects 'svbool_t'} } */
      13    svorv (pg, 0); /* { dg-error {passing 'int' to argument 2 of 'svorv', which expects an SVE vector type} } */
      14    svorv (pg, pg); /* { dg-error {'svorv' has no form that takes 'svbool_t' arguments} } */
      15    svorv (pg, s32);
      16    svorv (pg, u32);
      17    svorv (pg, f32); /* { dg-error {'svorv' has no form that takes 'svfloat32_t' arguments} } */
      18    svorv (pg, u32x2); /* { dg-error {passing 'svuint32x2_t' to argument 2 of 'svorv', which expects a single SVE vector rather than a tuple} } */
      19  }