fun(void)1*c85f09ccSJohn Levon static inline int fun(void) { return 42; }
2*c85f09ccSJohn Levon 
fi(void)3*c85f09ccSJohn Levon int fi(void) { return fun(); }
4*c85f09ccSJohn Levon 
i0(void)5*c85f09ccSJohn Levon int i0(void) { return (fun)(); }
i1(void)6*c85f09ccSJohn Levon int i1(void) { return (*fun)(); }		// C99,C11 6.5.3.2p4
i2(void)7*c85f09ccSJohn Levon int i2(void) { return (**fun)(); }		// C99,C11 6.5.3.2p4
i3(void)8*c85f09ccSJohn Levon int i3(void) { return (***fun)(); }		// C99,C11 6.5.3.2p4
9*c85f09ccSJohn Levon 
10*c85f09ccSJohn Levon /*
11*c85f09ccSJohn Levon  * check-name: inline 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-excludes: call
17*c85f09ccSJohn Levon  * check-output-pattern(5): ret\\..* \\$42
18*c85f09ccSJohn Levon  */
19