aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/unsorted/shft.c
blob: 7d318c863c54b4e5e0e75e27cc57bd902bebc892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
foo (a)
     int a;
{
  int b = 8;

  if ((a << b) >= 0)
    return 1;
  return a;
}

main ()
{
  if (foo (0x00ffffff) == 1)
    puts ("y");
}