1 /* { dg-do compile } */
2 /* { dg-require-effective-target powerpc_altivec_ok } */
3 /* { dg-options "-maltivec" } */
5 /* Compile-only test to ensure that expressions can be passed to
6 Altivec builtins without error. */
10 void func(unsigned char *buf
, unsigned len
)
12 vec_dst(buf
, (len
>= 256 ? 0 : len
) | 512, 2);