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

/* Decimal float is a GCC extension.  */

_Decimal32 x;		/* { dg-warning "GCC extension|ISO C" } */
_Decimal64 y;		/* { dg-warning "GCC extension|ISO C" } */
_Decimal128 z;		/* { dg-warning "GCC extension|ISO C" } */