1  typedef int v8si __attribute__((vector_size (8 * sizeof (int))));
       2  typedef long long v4di __attribute__((vector_size (4 * sizeof (long long))));
       3  
       4  void
       5  foo (v8si *x, v4di *y, int z)
       6  {
       7    __builtin_convertvector (*y, v8si);	/* { dg-error "number of elements of the first argument vector and the second argument vector type should be the same" } */
       8    __builtin_convertvector (*x, v4di);	/* { dg-error "number of elements of the first argument vector and the second argument vector type should be the same" } */
       9    __builtin_convertvector (*x, int);	/* { dg-error "second argument must be an integer or floating vector type" } */
      10    __builtin_convertvector (z, v4di);	/* { dg-error "first argument must be an integer or floating vector" } */
      11    __builtin_convertvector ();		/* { dg-error "expected" } */
      12    __builtin_convertvector (*x);		/* { dg-error "expected" } */
      13    __builtin_convertvector (*x, *y);	/* { dg-error "expected" } */
      14    __builtin_convertvector (*x, v8si, 1);/* { dg-error "expected" } */
      15  }