| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-std=gnu17 -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 } */ |