☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
shift.c
☽
☼
gcc/testsuite/gcc.c-torture/compile/shift.c
code
plain
raw
1
/* { dg-additional-options "-std=gnu89" } */
2
3
foo (a)
4
{
5
if (a >= 0)
6
return (unsigned) a << 10;
7
else
8
return (int) a << 10;
9
}