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

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