gcc/testsuite/g++.target/powerpc/altivec-14.C
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-maltivec" } */ |
| 3 | /* { dg-require-effective-target powerpc_altivec } */ |
| 4 | |
| 5 | void f (__attribute__((altivec (vector__))) signed int * a, |
| 6 | __attribute__((altivec (vector__))) signed int * const b); |
| 7 | |
| 8 | void |
| 9 | foo (void) |
| 10 | { |
| 11 | __attribute__((altivec (vector__))) signed int a[1], b[1]; |
| 12 | f (a, b); |
| 13 | } |