1f08c3bdfSopenharmony_cistatic inline int fun(void) { return 42; }
2f08c3bdfSopenharmony_ci
3f08c3bdfSopenharmony_ciint fi(void) { return fun(); }
4f08c3bdfSopenharmony_ci
5f08c3bdfSopenharmony_ciint i0(void) { return (fun)(); }
6f08c3bdfSopenharmony_ciint i1(void) { return (*fun)(); }		// C99,C11 6.5.3.2p4
7f08c3bdfSopenharmony_ciint i2(void) { return (**fun)(); }		// C99,C11 6.5.3.2p4
8f08c3bdfSopenharmony_ciint i3(void) { return (***fun)(); }		// C99,C11 6.5.3.2p4
9f08c3bdfSopenharmony_ci
10f08c3bdfSopenharmony_ci/*
11f08c3bdfSopenharmony_ci * check-name: inline calls
12f08c3bdfSopenharmony_ci * check-command: test-linearize -Wno-decl $file
13f08c3bdfSopenharmony_ci *
14f08c3bdfSopenharmony_ci * check-output-ignore
15f08c3bdfSopenharmony_ci * check-output-excludes: load
16f08c3bdfSopenharmony_ci * check-output-excludes: \\tcall
17f08c3bdfSopenharmony_ci * check-output-pattern(5): ret\\..* \\$42
18f08c3bdfSopenharmony_ci */
19