aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/dup-cond0.c
blob: 26af43852ca4fdf8529d676c337c46fc37f15261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
struct s {
	int f;
};

static int foo(struct s *s)
{
	if (s->f)
		return 0;
	else if (!s->f)
		return 4;
	return -1;
}

/*
 * check-name: dup-cond0
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-contains: select
 */