PR c++/85553
[official-gcc.git] / gcc / testsuite / g++.dg / ext / altivec-14.C
blob02e8a23258d2a793be8fc8d6e5663840de50833a
1 /* { dg-do compile { target powerpc*-*-* } } */
2 /* { dg-require-effective-target powerpc_altivec_ok } */
3 /* { dg-options "-maltivec" } */
5 void f (__attribute__((altivec (vector__))) signed int * a,
6         __attribute__((altivec (vector__))) signed int * const b);
8 void
9 foo (void)
11   __attribute__((altivec (vector__))) signed int a[1], b[1];
12   f (a, b);