1f08c3bdfSopenharmony_ciint foo(int a) 2f08c3bdfSopenharmony_ci{ 3f08c3bdfSopenharmony_ci if (a) 4f08c3bdfSopenharmony_ci return 0; 5f08c3bdfSopenharmony_ci else 6f08c3bdfSopenharmony_ci return 1; 7f08c3bdfSopenharmony_ci return 2; 8f08c3bdfSopenharmony_ci} 9f08c3bdfSopenharmony_ci 10f08c3bdfSopenharmony_ci/* 11f08c3bdfSopenharmony_ci * check-name: Ignore VOID in if-convert 12f08c3bdfSopenharmony_ci * check-command: test-linearize -Wno-decl $file 13f08c3bdfSopenharmony_ci * check-output-ignore 14f08c3bdfSopenharmony_ci * 15f08c3bdfSopenharmony_ci * check-output-excludes: phisrc\\. 16f08c3bdfSopenharmony_ci * check-output-excludes: phi\\. 17f08c3bdfSopenharmony_ci * check-output-excludes: VOID 18f08c3bdfSopenharmony_ci * check-output-contains: seteq\\. 19f08c3bdfSopenharmony_ci */ 20