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

/*
 * check-name: and-or-lsr2
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-contains: and\\..*\\$0xf0fff
 * check-output-excludes: and\\..*\\$0xf0ffffff
 */