aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/bad-phisrc1a.c
blob: cf07573b1fd3dbb884fa5be4c3b429c7eacf74e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
int def(void);

int fun4(struct xfrm_state *net, int cnt)
{
	int err = 0;
	if (err)
		goto out;
	for (; net;)
		err = def();
	if (cnt)
out:
		return err;
	return 0;
}

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