1 /* { dg-do compile { target { s390*-*-* } } } */
2 /* { dg-options "-march=z13 -mzarch -mzvector" } */
3 
4 /* The vector double variant is available with z13.  A wrong flag in
5    the s390-builtins.def file triggered an error when compiling for
6    z13.  */
7 
8 typedef __vector double v2df;
9 
10 #include <vecintrin.h>
11 
12 v2df
foo(v2df a)13 foo (v2df a)
14 {
15   return vec_sqrt(a);
16 }
17