2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / ext / altivec-4.C
blob86a2615dc498e782bffec137503909053f01ca1b
1 /* { dg-do compile { target powerpc*-*-* } } */
2 /* { dg-require-effective-target powerpc_altivec_ok } */
3 /* { dg-options "-maltivec" } */
5 /* PR c++/14425 */
7 #include <altivec.h>
9 vector unsigned int splat0(vector unsigned int x)
11     return vec_splat(x, 0);