summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/990117-1.c
blob: 9589ae746f8f9c3a5309905c6f087e8933c87ff4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
int
foo (int x, int y, int i, int j)
{
  double tmp1 = ((double) x / y);
  double tmp2 = ((double) i / j);

  return tmp1 < tmp2;
}

main ()
{
  if (foo (2, 24, 3, 4) == 0)
    abort ();
  return 0;
}