summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr34030.c
blob: f4f9e176d3f2bff9a35310e6dd30a0c9c52a53f2 (plain)
1
2
3
4
5
6
7
8
int myvar;

int foo(int mynum)
{
  if ((((void *)0) == (myvar & ((1U<<0) << mynum))) && (mynum > 0))
    return 1;
  return 0;
}