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

/*
 * check-name: and-or-mask2
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-contains: and\\..*\\$0xf0f
 * check-output-excludes: and\\..*\\$0xffffff0f
 */