aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c11-floatn-8.c
blob: 7cf2c189b7908f24918f0efbff603d1673fec75b (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-std=c11 -Wc11-c23-compat" } */
/* { dg-add-options float64x } */
/* { dg-require-effective-target float64x } */

_Float64x a		/* { dg-warning "ISO C does not support the '_Float64x' type before C23" } */
  = 1.0F64x;		/* { dg-warning "non-standard suffix on floating constant before C23" } */
__extension__ _Float64x b
  = 2.0F64x;