aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/and-or-mask.c
blob: 46803789551be7067e3cdeac42992d9362e2f1e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
int foo(int a, int b)
{
	return ((a & 7) | (b & 3)) & 8;
}

/*
 * check-name: and-or-mask
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-start
foo:
.L0:
	<entry-point>
	ret.32      $0


 * check-output-end
 */