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; }