OSDN Git Service

gcc/cp/
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / ext / altivec-15.C
1 /* { dg-do compile { target powerpc*-*-* } } */
2 /* { dg-require-effective-target powerpc_altivec_ok } */
3 /* { dg-options "-maltivec" } */
4
5 struct SubData
6 {
7     inline const Float Clamp(Float f, Float f0, Float f1) // { dg-error "" }
8     }
9     inline const void SinCos(Float angle, Float& sine, Float& cosine) // { dg-error "" }
10     {
11         C0 = __builtin_vec_splat(_simdCosEstCoefficients, 0); // { dg-error "" }
12         C1 = __builtin_vec_splat(_simdCosEstCoefficients, 1); // { dg-error "" }
13