Debian Codegraph @

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

raw
1 /* { dg-additional-options "-std=gnu89" } */
2
3 foo (a)
4 int a;
5 {
6 int b = 8;
7
8 if ((a << b) >= 0)
9 return 1;
10 return a;
11 }
12
13 main ()
14 {
15 if (foo (0x00ffffff) == 1)
16 puts ("y");
17 }