summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/b88.c
blob: 971c7c76d9253bb3c8ae5680da4541a23fa744c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
foo (double d)
{
  d = -d;
  if (d < 0.0)
    return 1;
  return 2;
}

main ()
{
  foo (0.0);
}