1f08c3bdfSopenharmony_ciint foo(int p, int (*f0)(int), int (*f1)(int), int arg) 2f08c3bdfSopenharmony_ci{ 3f08c3bdfSopenharmony_ci return (p ? f0 : f1)(arg); 4f08c3bdfSopenharmony_ci} 5f08c3bdfSopenharmony_ci/* 6f08c3bdfSopenharmony_ci * check-name: call-complex-pointer 7f08c3bdfSopenharmony_ci * check-command: test-linearize -Wno-decl $file 8f08c3bdfSopenharmony_ci * check-known-to-fail 9f08c3bdfSopenharmony_ci * 10f08c3bdfSopenharmony_ci * check-output-ignore 11f08c3bdfSopenharmony_ci * check-output-excludes: ptrcast\\. 12f08c3bdfSopenharmony_ci * check-output-contains: select\\. 13f08c3bdfSopenharmony_ci */ 14