1 /* { dg-do compile } */
2 /* { dg-options "-std=c11 -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 } */
10 _Float32 a
/* { dg-error "ISO C does not support the '_Float32' type before C23" } */
11 = 1.0F32
; /* { dg-error "non-standard suffix on floating constant before C23" } */
12 _Float64 b
/* { dg-error "ISO C does not support the '_Float64' type before C23" } */
13 = 1.0F64
; /* { dg-error "non-standard suffix on floating constant before C23" } */
14 _Float32x c
/* { dg-error "ISO C does not support the '_Float32x' type before C23" } */
15 = 1.0F32x
; /* { dg-error "non-standard suffix on floating constant before C23" } */
16 __extension__ _Float32 d
18 __extension__ _Float64 e
20 __extension__ _Float32x f