summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/andm.c
blob: 17101ae305085a4ea2ba4506df809926b50166ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
foo (p)
     int *p;
{
  return (*p & 255) == 0;
}

bar (a)
{
  return (a & 0xfff00000) == 0;
}

main ()
{
  printf ("%d%d\n", bar (-1), bar(0));
}