aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/and-or-bfu.c
blob: b6a080bd1a2d01369175e1f7fdb26ccc380ea745 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
struct u {
	unsigned int  :2;
	unsigned int f:3;
};

int bfu(struct u s, int a)
{
	s.f = a;
	return s.f;
}

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