1f08c3bdfSopenharmony_ciextern int fun(void);
2f08c3bdfSopenharmony_ci
3f08c3bdfSopenharmony_ciint ff(void) { return fun(); }
4f08c3bdfSopenharmony_ci
5f08c3bdfSopenharmony_ciint f0(void) { return (fun)(); }
6f08c3bdfSopenharmony_ciint f1(void) { return (*fun)(); }	// C99,C11 6.5.3.2p4
7f08c3bdfSopenharmony_ciint f2(void) { return (**fun)(); }	// C99,C11 6.5.3.2p4
8f08c3bdfSopenharmony_ciint f3(void) { return (***fun)(); }	// C99,C11 6.5.3.2p4
9f08c3bdfSopenharmony_ci
10f08c3bdfSopenharmony_ci/*
11f08c3bdfSopenharmony_ci * check-name: direct 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-pattern(5): call\\..* fun
17f08c3bdfSopenharmony_ci */
18