blob: 52f86306b16ab4176ae53b4d9b32e4920390ad8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
extern int fun(void);
int ff(void) { return fun(); }
int f0(void) { return (fun)(); }
int f1(void) { return (*fun)(); } // C99,C11 6.5.3.2p4
int f2(void) { return (**fun)(); } // C99,C11 6.5.3.2p4
int f3(void) { return (***fun)(); } // C99,C11 6.5.3.2p4
/*
* check-name: direct calls
* check-command: test-linearize -Wno-decl $file
*
* check-output-ignore
* check-output-excludes: load
* check-output-pattern(5): call\..* fun
*/
|