aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c2x-floatn-8.c
blob: ed6ac9bdd8d319055e219b58b0bffead605120a9 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-std=c23 -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;