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