NetBSD/gnu/dist/gcc4/gcc/testsuite/gcc.dg/pr27314.c

15 lines
190 B
C

/* { dg-do compile } */
/* { dg-options "-O1 -ffast-math" } */
extern double floor (double);
inline int bar (double x)
{
return (int) floor (x);
}
int foo (int i)
{
return bar (i);
}