1*11be35a1SLionel Sambuc /* pointer casts are valid lhs lvalues */ 2*11be35a1SLionel Sambuc struct sockaddr { }; 3*11be35a1SLionel Sambuc void foo()4*11be35a1SLionel Sambucfoo() { 5*11be35a1SLionel Sambuc unsigned long p = 6; 6*11be35a1SLionel Sambuc ((struct sockaddr *)p) = 0; 7*11be35a1SLionel Sambuc } 8