libstdc++: Qualify calls in <bits/stl_uninitialized.h> to prevent ADL
[official-gcc.git] / gcc / testsuite / gcc.dg / builtin-inf-1.c
blobb075fcd85f729713021e4fef6a262426c1ac407f
1 /* { dg-do compile } */
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 } */
10 float fh = __builtin_huge_valf();
11 double dh = __builtin_huge_val();
12 long double lh = __builtin_huge_vall();