aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr46832.c
blob: f500aa5106809a912b899fecb603ac3724447561 (plain)
1
2
3
4
double pow(double x, double y);
void foo( double x ) {
   int j = (int) ((pow(x, 2)) < 0.0 ? (pow(x, 2))-0.5 : (pow(x, 2))+0.5);
}