OSDN Git Service

2007-06-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / c99-math-long-double-1.c
1 /* { dg-do run { target *-*-solaris2.1[0-9]* } } */
2 /* { dg-options "-std=c99 -O" } */
3
4 #include <math.h>
5 #include "c99-math.h"
6
7 int main(void)
8 {
9   long double nan = NAN;
10   long double inf = INFINITY;
11   long double huge = HUGE_VALL;
12   long double norm = __LDBL_MIN__;
13   long double zero = 0.0l;
14
15   C99_MATH_TESTS (nan, inf, huge, norm, zero)
16
17   return 0;
18 }