xref: /freebsd/contrib/netbsd-tests/usr.bin/xlint/lint1/d_cast_init2.c (revision d3d381b2b194b4d24853e92eecef55f262688d1a)
1 /* cast initialization as the rhs of a - operand */
2 struct sockaddr_dl {
3 	char sdl_data[2];
4 };
5 
6 int             npdl_datasize = sizeof(struct sockaddr_dl) -
7 ((int) ((unsigned long)&((struct sockaddr_dl *) 0)->sdl_data[0]));
8