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