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

foo (a)
{
  a++;
  if (a < 10)
    return 1;
  return a;
}

main ()
{
  printf ("%d\n", foo ((1 << 31) - 1));
}