aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/icmp.c
blob: 4015b5374fe5a7b6f8e78cfabcfef38e87717046 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-additional-options "-std=gnu89" } */

foo (a, b)
{
  b++;
  if (a <= b)
    if ((int) a < (int) b)
      b--;
    else
      b++;
  return b;
}