(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
s390/
zvector/
vec-overloading-4.c
       1  /* Check for error messages supposed to be issued during builtin expansion.  */
       2  
       3  /* { dg-do compile { target { s390*-*-* } } } */
       4  /* { dg-options "-march=z13 -mzarch -mzvector" } */
       5  
       6  __vector int v4si;
       7  __vector unsigned uv4si;
       8  
       9  int *intptr;
      10  unsigned long long ull;
      11  const unsigned int *ucintptr;
      12  
      13  void
      14  foo ()
      15  {
      16    /* A backend check makes sure the forth operand is a literal.  */
      17    __builtin_s390_vec_scatter_element (v4si, uv4si, intptr, ull); /* { dg-error "constant value required for builtin" } */
      18  }