aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/and-or-constant1.c
blob: 49823d5ca30487a4f616e5e24f46433817b6797e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
int foo(int x)
{
	return (x | 0x000fffff) & 0xfff;
}

/*
 * check-name: or-and-constant1
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-contains: ret\\..*\\$0xfff
 * check-output-excludes: and\\.
 * check-output-excludes: or\\.
 */