summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20021119-1.c
blob: d4306b89b999f485385c2099818f8fc64a81bca5 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR c/8588 */
/* Contributed by Volker Reichelt. */

/* Verify that GCC converts integer constants
   in shift operations. */
   
void foo()
{
  unsigned int i, j;
  j = (i >> 0xf0);
}