aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/lsr-shl0.c
blob: 952baa6b6926325b4ad97653ac2337f9bee21837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
unsigned mask(unsigned x)
{
	return (x << 15) >> 15;
}

/*
 * check-name: lsr-shl0
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-contains: and\\..*0x1ffff
 * check-output-excludes: lsr\\.
 * check-output-excludes: shl\\.
 */