aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/linear/bitfield-inc.c
blob: 56997592e0837178b3dd218edb115a36bb344f67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
struct s {
	int f:5;
};

void inc(struct s *p)
{
	p->f++;
}

/*
 * check-name: bitfield-inc
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-excludes: add\\.5
 */