]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/fltconst-pedantic-dfp.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / fltconst-pedantic-dfp.c
1 /* { dg-do compile } */
2 /* { dg-options "-pedantic" } */
3
4 double a = 1.dl; /* { dg-warning "decimal float" } */
5 /* { dg-error "not supported for this target" "not supported" { target { ! dfp } } .-1 } */
6 double b = 1.df; /* { dg-warning "decimal float" } */
7 /* { dg-error "not supported for this target" "not supported" { target { ! dfp } } .-1 } */
8 double c = 1.dd; /* { dg-warning "decimal float" } */
9 /* { dg-error "not supported for this target" "not supported" { target { ! dfp } } .-1 } */