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

double a = 1.dl;	/* { dg-warning "decimal float" } */
double b = 1.df;	/* { dg-warning "decimal float" } */
double c = 1.dd;	/* { dg-warning "decimal float" } */