1/* Check calling convention in the vector ABI.  */
2
3/* { dg-do compile { target { s390*-*-* } } } */
4/* { dg-options "-O3 -mzarch -march=z13" } */
5
6/* { dg-final { scan-assembler "gnu_attribute 8, 2" } } */
7
8typedef int __attribute__((vector_size(16))) v4si;
9
10extern void bar (v4si);
11
12void
13foo (int a)
14{
15  v4si b = (v4si){ a, a, a, a };
16  bar (b);
17}
18