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

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