1f08c3bdfSopenharmony_cistruct s {
2f08c3bdfSopenharmony_ci	  signed int  :2;
3f08c3bdfSopenharmony_ci	  signed int f:3;
4f08c3bdfSopenharmony_ci};
5f08c3bdfSopenharmony_ci
6f08c3bdfSopenharmony_ciint bfs(struct s s, int a)
7f08c3bdfSopenharmony_ci{
8f08c3bdfSopenharmony_ci	s.f = a;
9f08c3bdfSopenharmony_ci	return s.f;
10f08c3bdfSopenharmony_ci}
11f08c3bdfSopenharmony_ci
12f08c3bdfSopenharmony_ci/*
13f08c3bdfSopenharmony_ci * check-name: and-or-bfs
14f08c3bdfSopenharmony_ci * check-command: test-linearize -Wno-decl $file
15f08c3bdfSopenharmony_ci *
16f08c3bdfSopenharmony_ci * check-output-ignore
17f08c3bdfSopenharmony_ci * check-output-pattern(1): trunc\\.
18f08c3bdfSopenharmony_ci * check-output-pattern(1): sext\\.
19f08c3bdfSopenharmony_ci * check-output-excludes: and\\.
20f08c3bdfSopenharmony_ci * check-output-excludes: or\\.
21f08c3bdfSopenharmony_ci * check-output-excludes: shl\\.
22f08c3bdfSopenharmony_ci * check-output-excludes: lsr\\.
23f08c3bdfSopenharmony_ci */
24