1*1f5207b7SJohn Levon typedef int (*fn_t)(int x, int y);
2*1f5207b7SJohn Levon 
3*1f5207b7SJohn Levon static int run(fn_t fn, int x, int y)
4*1f5207b7SJohn Levon {
5*1f5207b7SJohn Levon 	return fn(x, y);
6*1f5207b7SJohn Levon }
7*1f5207b7SJohn Levon 
8*1f5207b7SJohn Levon /*
9*1f5207b7SJohn Levon  * check-name: Function pointer code generation
10*1f5207b7SJohn Levon  * check-command: sparsec -c $file -o tmp.o
11*1f5207b7SJohn Levon  */
12