diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/c99-math-float-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/c99-math-float-1.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/gcc/testsuite/gcc.dg/c99-math-float-1.c b/gcc/testsuite/gcc.dg/c99-math-float-1.c index 9dd4e9a0483..ba27a710bde 100644 --- a/gcc/testsuite/gcc.dg/c99-math-float-1.c +++ b/gcc/testsuite/gcc.dg/c99-math-float-1.c @@ -1,18 +1,18 @@ -/* { dg-do run { target *-*-solaris2.1[0-9]* } } */
-/* { dg-options "-std=c99 -O" } */
-
-#include <math.h>
-#include "c99-math.h"
-
-int main(void)
-{
- float nan = NAN;
- float inf = INFINITY;
- float huge = HUGE_VALF;
- float norm = __FLT_MIN__;
- float zero = 0.0f;
-
- C99_MATH_TESTS (nan, inf, huge, norm, zero)
-
- return 0;
-}
+/* { dg-do run { target *-*-solaris2.1[0-9]* } } */ +/* { dg-options "-std=c99 -O" } */ + +#include <math.h> +#include "c99-math.h" + +int main(void) +{ + float nan = NAN; + float inf = INFINITY; + float huge = HUGE_VALF; + float norm = __FLT_MIN__; + float zero = 0.0f; + + C99_MATH_TESTS (nan, inf, huge, norm, zero) + + return 0; +} |