1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
int f (char *p) { } main () { char c; char c2; int i = 0; char *pc = &c; char *pc2 = &c2; int *pi = &i; *pc2 = 1; *pi = 1; *pc2 &= *pi; f (pc2); *pc2 = 1; *pc2 &= *pi; if (*pc2 != 1) abort (); exit (0); }