xref: /illumos-gate/usr/src/tools/smatch/src/validation/linear/bitfield-inc.c (revision 4c87aefe8930bd07275b8dd2e96ea5f24d93a52e)
1 struct s {
2 	int f:5;
3 };
4 
5 void inc(struct s *p)
6 {
7 	p->f++;
8 }
9 
10 /*
11  * check-name: bitfield-inc
12  * check-command: test-linearize -Wno-decl $file
13  *
14  * check-output-ignore
15  * check-output-excludes: add\\.5
16  */
17