xref: /illumos-gate/usr/src/tools/smatch/src/validation/optim/and-or-bfx.c (revision fa4a3e77edc40df6d92e8da6fc4961d275e9896d)
1 struct s {
2 	int f:3;
3 };
4 
5 void foo(struct s *p, int a, int b)
6 {
7 	p->f = a;
8 	p->f = b;
9 }
10 
11 /*
12  * check-name: and-or-bfx
13  * check-command: test-linearize -Wno-decl $file
14  *
15  * check-output-ignore
16  * check-output-pattern(2): and\\.
17  * check-output-pattern(1): or\\.
18  */
19