repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
etc/protocols - sync with NetBSD-8
[minix.git]
/
tests
/
usr.bin
/
xlint
/
lint1
/
d_cast_lhs.c
blob
eb865695535fe128494cdd7ba81c6d83ae37395c
1
/* pointer casts are valid lhs lvalues */
2
struct
sockaddr
{ };
3
void
4
foo
() {
5
unsigned long
p
=
6
;
6
((
struct
sockaddr
*)
p
) =
0
;
7
}