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