summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/dfp/keywords-c89.c
blob: 8c96d60c7dd2fd325b972f8117f357b557b79835 (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-std=c89" } */

/* Decimal float keywords are not recognized in C89 mode.  */

_Decimal32 x;		/* { dg-error "" } */
_Decimal64 y;		/* { dg-error "" } */
_Decimal128 z;		/* { dg-error "" } */