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