aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/unsorted/dshift.c
blob: 94750cc3cbcc22507d622c0b5fb927736c09aa8b (plain)
1
2
3
4
5
6
7
8
9
10
foo (b, c)
     unsigned b, c;
{
  return (b << 12) | (c >> 20);
}

main ()
{
  printf ("0x%x\n", foo (0x11223344, 0xaabbccdd));
}