]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/c11-floatn-7.c
3da9bb9e664bb0bed8b1a2d4f3d2a620bfc16616
1 /* { dg-do compile } */
2 /* { dg-options "-std=c11 -Wc11-c2x-compat" } */
3 /* { dg-add-options float16 } */
4 /* { dg-require-effective-target float16 } */
6 _Float16 a
/* { dg-warning "ISO C does not support the '_Float16' type before C23" } */
7 = 1.0F16
; /* { dg-warning "non-standard suffix on floating constant before C23" } */
8 __extension__ _Float16 b