aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/and-or-bf1.c
blob: 23477ff349b4312ecc27e0324e091eafa33a8c3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
struct s {
	int  :2;
	int f:3;
};

void foo(struct s *d, const struct s *s, int a)
{
	d->f = s->f | a;
}

/*
 * check-name: and-or-bf1
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-pattern(2): and\\.
 * check-output-pattern(2): or\\.
 */