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

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