1 struct S 2 { 3 struct S *n, *p; 4 } *s; 5 6 void bar (void *); 7 8 int foo(int x)9foo (int x) 10 { 11 struct S p = { &p, &p }; 12 int i; 13 for (i = 0; i < x; i++) 14 bar (s); 15 return p.n == &p; 16 } 17 dialog_calendar(int state)18int dialog_calendar(int state) 19 { 20 int *obj = (state == 1 ? &state : 0); 21 return (obj == &state); 22 } 23