1*c85f09ccSJohn Levon extern int fun(void);
2*c85f09ccSJohn Levon 
fa(void)3*c85f09ccSJohn Levon void fa(void) { int (*f)(void); f = &fun; }
f0(void)4*c85f09ccSJohn Levon void f0(void) { int (*f)(void); f = fun; }	// C99,C11 6.3.2.1p4
f1(void)5*c85f09ccSJohn Levon void f1(void) { int (*f)(void); f = *fun; }	// C99,C11 6.5.3.2p4
f2(void)6*c85f09ccSJohn Levon void f2(void) { int (*f)(void); f = **fun; }	// C99,C11 6.5.3.2p4
f3(void)7*c85f09ccSJohn Levon void f3(void) { int (*f)(void); f = ***fun; }	// C99,C11 6.5.3.2p4
8*c85f09ccSJohn Levon 
9*c85f09ccSJohn Levon /*
10*c85f09ccSJohn Levon  * check-name: type of function pointers
11*c85f09ccSJohn Levon  * check-command: sparse -Wno-decl $file
12*c85f09ccSJohn Levon  */
13