| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-maltivec -mno-vsx" } */ |
| 3 |
/* { dg-require-effective-target powerpc_altivec } */ |
| 4 |
|
| 5 |
/* This test was added for an internal compiler error. The number and |
| 6 |
content of error messages is irrelevant. */ |
| 7 |
|
| 8 |
struct SubData // { dg-error "" } |
| 9 |
{ |
| 10 |
inline const Float Clamp(Float f, Float f0, Float f1) // { dg-error "" } |
| 11 |
} |
| 12 |
inline const void SinCos(Float angle, Float& sine, Float& cosine) // { dg-error "" } |
| 13 |
{ |
| 14 |
C0 = __builtin_vec_splat(_simdCosEstCoefficients, 0); |
| 15 |
C1 = __builtin_vec_splat(_simdCosEstCoefficients, 1); |
| 16 |
|