xref: /illumos-gate/usr/src/tools/smatch/src/validation/optim/and-or-bfx.c (revision 43449cdcd0600512dd862537f2cf014140dd0844)
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