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