Warn pointer to signed integer cast for ilp32
[official-gcc.git] / gcc / testsuite / gcc.dg / fltconst-1.c
blobe8ecf6750a3274079e59289b02b22a1c09726e27
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu99 -fshow-column" } */
4 double a = 1.ld; /* { dg-error "12:invalid suffix" } */
5 double b = 1.fd; /* { dg-error "12:invalid suffix" } */
6 double c = 1.di;
7 double d = 1.dj;
8 double e = 1.id;
9 double f = 1.jd;
10 double g = 1.ddd; /* { dg-error "12:invalid suffix" } */
11 double h = 1.ldd; /* { dg-error "12:invalid suffix" } */
12 double i = 1.dld; /* { dg-error "12:invalid suffix" } */
13 double j = 1.ddl; /* { dg-error "12:invalid suffix" } */
14 double k = 1.fdd; /* { dg-error "12:invalid suffix" } */
15 double l = 1.dfd; /* { dg-error "12:invalid suffix" } */
16 double m = 1.ddf; /* { dg-error "12:invalid suffix" } */