aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/and-or-maskx.c
blob: 21d44e8d0e005b57e0d9f8b847de735d96f86c7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
int foo(int x, int y, int a)
{
	return ((x & y) | (a & 0xf000)) & 0x0fff;
}

/*
 * check-name: and-or-maskx
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-pattern(2): and\\.
 * check-output-excludes: or\\.
 */