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

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