summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/shand.c
blob: 5a401961355ede50ad3256b3887168528a8b4b68 (plain)
1
2
3
4
5
6
7
8
9
10
11
int
foo (x, c)
     int x;
{
  return x >> 24 & 0xff;
}

bar (x)
{
  return (int)(x & 0xfffff) << 13;
}