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