| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-std=c23 -pedantic-errors" } */ |
| 3 |
/* { dg-add-options float32 } */ |
| 4 |
/* { dg-add-options float64 } */ |
| 5 |
/* { dg-add-options float32x } */ |
| 6 |
/* { dg-require-effective-target float32 } */ |
| 7 |
/* { dg-require-effective-target float32x } */ |
| 8 |
/* { dg-require-effective-target float64 } */ |
| 9 |
|
| 10 |
_Float32 a |
| 11 |
= 1.0F32; |
| 12 |
_Float64 b |
| 13 |
= 1.0F64; |
| 14 |
_Float32x c |
| 15 |
= 1.0F32x; |
| 16 |
__extension__ _Float32 d |
| 17 |
= 2.0F32; |
| 18 |
__extension__ _Float64 e |
| 19 |
= 2.0F64; |
| 20 |
__extension__ _Float32x f |
| 21 |
= 2.0F32x; |