]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/c11-floatn-6.c
c: Refer more consistently to C23 not C2X
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / c11-floatn-6.c
1 /* { dg-do compile } */
2 /* { dg-options "-std=c11 -Wc11-c2x-compat" } */
3 /* { dg-add-options float128 } */
4 /* { dg-require-effective-target float128 } */
5
6 _Float128 a /* { dg-warning "ISO C does not support the '_Float128' type before C23" } */
7 = 1.0F128; /* { dg-warning "non-standard suffix on floating constant before C23" } */
8 __extension__ _Float128 b
9 = 2.0F128;