summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/fltconst-1.c
blob: bf92227064444ae60cdde66594226f5a0a22fb0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */

double a = 1.ld;	/* { dg-error "invalid suffix" } */
double b = 1.fd;	/* { dg-error "invalid suffix" } */
double c = 1.di;	/* { dg-error "invalid suffix" } */
double d = 1.dj;	/* { dg-error "invalid suffix" } */
double e = 1.id;	/* { dg-error "invalid suffix" } */
double f = 1.jd;	/* { dg-error "invalid suffix" } */
double g = 1.ddd;	/* { dg-error "invalid suffix" } */
double h = 1.ldd;	/* { dg-error "invalid suffix" } */
double i = 1.dld;	/* { dg-error "invalid suffix" } */
double j = 1.ddl;	/* { dg-error "invalid suffix" } */
double k = 1.fdd;	/* { dg-error "invalid suffix" } */
double l = 1.dfd;	/* { dg-error "invalid suffix" } */
double m = 1.ddf;	/* { dg-error "invalid suffix" } */