☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
as.c
☽
☼
gcc/testsuite/gcc.c-torture/compile/as.c
code
plain
raw
1
/* { dg-additional-options "-std=gnu89" } */
2
3
#define S 31
4
#define A 17
5
6
foo (a)
7
unsigned a;
8
{
9
return (a >> S) & ((1 << A) - 1);
10
}
11
12
main ()
13
{
14
printf ("%d%d\n", foo (-1), foo (0));
15
}