1/* { dg-do compile { target x86_64-*-* i?86-*-* } } */
2/* { dg-options "-w -Wno-psabi" } */
3
4#if __SIZEOF_LONG_DOUBLE__ == 16 || __SIZEOF_LONG_DOUBLE__ == 8
5typedef long double a __attribute__((vector_size (16)));
6
7a __attribute__((noinline))
8sum (a first, a second)
9{
10    return first + second;
11}
12
13a
14foo (a x, a y, a z)
15{
16  return sum (x, y) + z;
17}
18#else
19int main() {}
20#endif
21