summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr18520-1.c
blob: 872d3a94620df0ad78d8534bdc6b15d7ea9b3429 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR middle-end/18520 */
/* { dg-do compile } */
/* { dg-options "-O2 -ffast-math" } */

extern int isnan (double __value) __attribute__ ((__const__));

int gsl_isnan (const double x)
{
  return isnan(x);
}