921e5a0eb4
From-SVN: r14840
17 lines
173 B
C
17 lines
173 B
C
foo (a)
|
|
{
|
|
return (a & (1 << 31)) != 0;
|
|
}
|
|
|
|
main ()
|
|
{
|
|
if (foo (0))
|
|
puts ("foo");
|
|
else
|
|
puts ("bar");
|
|
if (foo (~0))
|
|
puts ("foo");
|
|
else
|
|
puts ("bar");
|
|
}
|