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