1f08c3bdfSopenharmony_cistatic double foo(double a, int p) 2f08c3bdfSopenharmony_ci{ 3f08c3bdfSopenharmony_ci return a * ((p & 0) + 2); 4f08c3bdfSopenharmony_ci} 5f08c3bdfSopenharmony_ci 6f08c3bdfSopenharmony_ci/* 7f08c3bdfSopenharmony_ci * check-name: fpcast-constant 8f08c3bdfSopenharmony_ci * check-command: test-linearize $file 9f08c3bdfSopenharmony_ci * 10f08c3bdfSopenharmony_ci * check-output-ignore 11f08c3bdfSopenharmony_ci * check-output-contains: scvtf\\. 12f08c3bdfSopenharmony_ci * check-output-excludes: fmul\\..*\\$2 13f08c3bdfSopenharmony_ci */ 14