libstdc++: Fix ranges::copy_backward for a single memcpyable element [PR117121]
[official-gcc.git] / gcc / testsuite / gcc.dg / fltconst-pedantic-dfp.c
blob6ff3091ce6a84a53ab049555ed1fee11264a99f5
1 /* { dg-do compile } */
2 /* { dg-options "-pedantic" } */
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 } */