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

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