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

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