summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20001009-1.c
blob: aa691cab2fb1f2b05a6c7c51a18157815035540b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
int a,b;
main()
{
  int c=-2;
  int d=0xfe;
  int e=a&1;
  int f=b&2;
  if ((char)(c|(e&f)) == (char)d)
    return 0;
  else
    abort();
}