summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20010422-1.c
blob: 5c6bccc9ed134d6312ed8c4d55802492da0d7d4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
unsigned int foo(unsigned int x)
{
  if (x < 5)
    x = 4;
  else
    x = 8;
  return x;
}

int main(void)
{
  if (foo (8) != 8)
    abort ();
  exit (0);
}