Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/as.c

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 }