| 1 |
/* { dg-do compile } */ |
| 2 |
|
| 3 |
float fi = __builtin_inff(); |
| 4 |
/* { dg-error "does not support infinity" "INF unsupported" { target pdp11*-*-* vax-*-* } .-1 } */ |
| 5 |
double di = __builtin_inf(); |
| 6 |
/* { dg-error "does not support infinity" "INF unsupported" { target pdp11*-*-* vax-*-* } .-1 } */ |
| 7 |
long double li = __builtin_infl(); |
| 8 |
/* { dg-error "does not support infinity" "INF unsupported" { target pdp11*-*-* vax-*-* } .-1 } */ |
| 9 |
|
| 10 |
float fh = __builtin_huge_valf(); |
| 11 |
double dh = __builtin_huge_val(); |
| 12 |
long double lh = __builtin_huge_vall(); |
| 13 |
|