blob: e5dd81c75534b3acd30907501791424b83089c89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* { dg-do compile { target powerpc*-*-* } } */
/* { dg-require-effective-target powerpc_altivec_ok } */
/* { dg-options "-maltivec" } */
void f (__attribute__((altivec (vector__))) signed int * a,
__attribute__((altivec (vector__))) signed int * const b);
int
foo (void)
{
__attribute__((altivec (vector__))) signed int a[1], b[1];
f (a, b);
}
|