1 /* { dg-do compile { target powerpc*-*-* } } */
2 /* { dg-options "-maltivec" } */
8 typedef void (*pvecfunc
) ();
10 void foo(pvecfunc pvf
) {
11 vector
int v
= (vector
int){1, 2, 3, 4};
13 preansi (4, 4.0, v
); /* { dg-error "AltiVec argument passed to unprototyped function" "" { target ilp32 } } */
14 (*pvf
) (4, 4.0, v
); /* { dg-error "AltiVec argument passed to unprototyped function" "" { target ilp32 } } */