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