aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/bad-phisrc2.c
blob: 3eade688f768c5dd48e131a82dce0c79aaf86fc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
int bad_phisrc2(int p, int a, int r)
{
	if (p)
		r = a;
	else if (r)
		;
	return r;
}

/*
 * check-name: bad-phisrc2
 * check-command: test-linearize -Wno-decl $file
 * check-known-to-fail
 *
 * check-output-ignore
 * check-output-contains: select\\.
 */