xref: /illumos-gate/usr/src/tools/smatch/src/validation/linear/bitfield-inc.c (revision 3b436d06bb95fd180ef7416b2b1b9972e2f2a513)
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