aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/select-select-true-false1.c
blob: 00ffdcd1bc9b82bf66fa9204d5b5e77d60b46636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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-known-to-fail
 *
 * check-output-ignore
 * check-output-returns: 1
 */