blob: b4587d3036afa64f062c93b25093b21c6cc57e1d [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-std=c11 -pedantic-errors" } */
/* { dg-add-options float16 } */
/* { dg-require-effective-target float16 } */
_Float16 a /* { dg-error "ISO C does not support the '_Float16' type before C23" } */
= 1.0F16; /* { dg-error "non-standard suffix on floating constant before C23" } */
__extension__ _Float16 b
= 2.0F16;