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