]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/netbsd-tests/usr.bin/xlint/lint1/d_cast_fun_array_param.c
MFC r305358,r305449,r305451,r306367,r306397,r309474:
[FreeBSD/stable/10.git] / contrib / netbsd-tests / usr.bin / xlint / lint1 / d_cast_fun_array_param.c
1
2 static void f(void *b[4]) {
3         (void)&b;
4 }
5
6 void *
7 foo(void *fn) {
8         return fn == 0 ? f : (void (*)(void *[4])) fn;
9 }