]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/netbsd-tests/usr.bin/xlint/lint1/d_cast_lhs.c
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / netbsd-tests / usr.bin / xlint / lint1 / d_cast_lhs.c
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 }