Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/builtin-inf-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-do compile } */ | |
2 | |
3 float fi = __builtin_inff(); | |
4 /* { dg-error "does not support infinity" "INF unsupported" { target vax-*-* spu-*-* } .-1 } */ | |
5 double di = __builtin_inf(); | |
6 /* { dg-error "does not support infinity" "INF unsupported" { target vax-*-* } .-1 } */ | |
7 long double li = __builtin_infl(); | |
8 /* { dg-error "does not support infinity" "INF unsupported" { target vax-*-* } .-1 } */ | |
9 | |
10 float fh = __builtin_huge_valf(); | |
11 double dh = __builtin_huge_val(); | |
12 long double lh = __builtin_huge_vall(); | |
13 |