summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/bfx.c
blob: d47bd7d18bc92228d952e8c28ccf0f7691eba1bf (plain)
1
2
3
4
5
6
7
8
9
foo (x, c)
{
  return x << -c;
}

main ()
{
  printf ("%x\n", foo (0xf05, -4));
}