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

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

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