libgfortran/ChangeLog:
[official-gcc.git] / gcc / testsuite / gcc.dg / fltconst-double-pedantic-1.c
blob07827296db8af42d7e7c7077e48af9b3caf9043d
1 /* { dg-do compile } */
2 /* { dg-options "-std=c99 -pedantic" } */
4 double a = 1.d; /* { dg-warning "double constant" } */
5 double b = 1.D; /* { dg-warning "double constant" } */
6 double c = 1.1e+2d; /* { dg-warning "double constant" } */
8 double d = 1.di; /* { dg-warning "imaginary constants" } */
9 double e = 1.dj; /* { dg-warning "imaginary constants" } */
10 double f = 1.id; /* { dg-warning "imaginary constants" } */
11 double g = 1.jd; /* { dg-warning "imaginary constants" } */
13 double h = 0x1.5p1d; /* { dg-warning "double constant" } */