blob: a1c001cf8a257e93ad324a52c7620b8b8f852f51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* { dg-additional-options "-std=gnu89" } */
#define S 31
#define A 17
foo (a)
unsigned a;
{
return (a >> S) & ((1 << A) - 1);
}
main ()
{
printf ("%d%d\n", foo (-1), foo (0));
}
|