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

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

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