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

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