2013-10-21 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / builtins-63.c
blob8fcbc68e6f1b6e9523bce4473debe3cfec94b236
1 /* Copyright (C) 2007 Free Software Foundation.
3 Check that isinf, isinff and isinfl built-in functions compile.
5 Written by Uros Bizjak, 31st January 2007. */
7 /* { dg-do compile } */
8 /* { dg-options "-O2" } */
10 extern int isinf(double);
11 extern int isinff(float);
12 extern int isinfl(long double);
14 int test1(double x)
16 return isinf(x);
19 int test1f(float x)
21 return isinff(x);
24 int test1l(long double x)
26 return isinfl(x);