1 int gg(int (*fun)(void)) { return fun(); }
2
3 int g0(int (*fun)(void)) { return (fun)(); }
4 int g1(int (*fun)(void)) { return (*fun)(); } // C99,C11 6.5.3.2p4
5 int g2(int (*fun)(void)) { return (**fun)(); } // C99,C11 6.5.3.2p4
6 int g3(int (*fun)(void)) { return (***fun)(); } // C99,C11 6.5.3.2p4
7
8 /*
9 * check-name: indirect calls
10 * check-command: test-linearize -Wno-decl $file
11 *
12 * check-output-ignore
13 * check-output-excludes: load
14 * check-output-pattern(5): call\\..* %arg1
15 */