NetBSD/regress/usr.bin/xlint/lint1/test5.c

8 lines
115 B
C

/* pointer casts are valid lhs lvalues */
void
foo() {
unsigned long p = 6;
((struct sockaddr *)p) = 0;
}