]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/netbsd-tests/usr.bin/xlint/lint1/d_cast_fun_array_param.c
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb, and openmp
[FreeBSD/FreeBSD.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 }