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

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