aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/bad-phisrc1a.c
blob: b7519ee7cf5d9e53fd0e0259493f02de0369051a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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-output-ignore
 * check-output-contains: select\\.
 */