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

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