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