1 /* Check for error messages supposed to be issued during overloading. */
3 /* { dg-do compile { target { s390*-*-* } } } */
4 /* { dg-options "-march=z13 -mzarch -mzvector" } */
7 __vector
unsigned uv4si
;
10 unsigned long long ull
;
11 const unsigned int *ucintptr
;
16 /* A backend check makes sure the forth operand is a literal. */
17 __builtin_s390_vec_gather_element (uv4si
, uv4si
, ucintptr
, 256); /* { dg-error "constant argument 4 for builtin.*is out of range for target type" } */
18 __builtin_s390_vec_gather_element (uv4si
, uv4si
, ucintptr
, 5); /* { dg-error "constant argument 4 for builtin.*is out of range" } */