blob: 533a9ca1a8ca6a2b929c3054a7040f56f5290298 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* { dg-additional-options "-std=gnu89" } */
foo (a)
{
return (a & (1 << 31)) != 0;
}
main ()
{
if (foo (0))
puts ("foo");
else
puts ("bar");
if (foo (~0))
puts ("foo");
else
puts ("bar");
}
|