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