xref: /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/990117-1.c (revision f2da64fbbbf1b03f09f390ab01267c93dfd77c4c)
1 int
2 foo (int x, int y, int i, int j)
3 {
4   double tmp1 = ((double) x / y);
5   double tmp2 = ((double) i / j);
6 
7   return tmp1 < tmp2;
8 }
9 
10 main ()
11 {
12   if (foo (2, 24, 3, 4) == 0)
13     abort ();
14   return 0;
15 }
16 
17