aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/and-or-shl1.c
blob: 1c7b104cf08653202227ca0952e2f14166969006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
int foo(int a, int b)
{
	return ((a & 0x000fffff) | b) << 12;
}

/*
 * check-name: and-or-shl1
 * check-command: test-linearize -Wno-decl $file
 * check-known-to-fail
 *
 * check-output-ignore
 * check-output-pattern(0): and\\.
 * check-output-pattern(1): or\\.
 */