2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / ext / altivec-14.C
blobe5dd81c75534b3acd30907501791424b83089c89
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 int
9 foo (void)
11   __attribute__((altivec (vector__))) signed int a[1], b[1];
12   f (a, b);