aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/select-select-true-false1.c
blob: 32c0364de2ba0d61a53877aa646da3f506b052e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
int foo(int p)
{
	int t = (p ? 42 : 0);
	return (t ? 42 : 0) == ( p ? 42 : 0);
}

/*
 * check-name: select-select-true-false1
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-returns: 1
 */