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

foo (x, c)
{
  return x << -c;
}

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