summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20021119-1.c
blob: c4ef460d45af82102dd222cdf33fc5c3b2014173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR 8639.  */

extern void abort(void);

int foo (int i)
{
  int r;
  r = (80 - 4 * i) / 20;
  return r;
}
    
int main ()
{
  if (foo (1) != 3)
    abort ();
  return 0;
}